Skip to content

Commit

Permalink
add some more rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Kakadus committed Nov 13, 2023
1 parent 97178e6 commit 23986fd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,20 @@ extend_skip_glob = ["**/migrations/*"]
# * custom assert methods use camelCase
# * Formsets use PascalCase

select = ["F", "E", "B", "W", "N", "UP", "YTT", "FIX"]
target-version = "py310"
select = ["F", "E", "B", "W", "N", "UP", "YTT", "FIX", "ASYNC", "A"]
ignore = [
"E501", # line-too-long: black does code formatting for us
"N806",
"FIX004", # hacks should be possible
"A003",
]

ignore-init-module-imports = true
pep8-naming.extend-ignore-names = ["assert*", "*Formset"]

[tool.ruff.per-file-ignores]
"**/migrations/*.py" = ["N806"]


##############################################

Expand Down

0 comments on commit 23986fd

Please sign in to comment.