Update ruff defaults
- Minimum version py310, to prevent "Py 3.9 does not have foo" errors - Drop ANN101 because it's deprecated anyway
This commit is contained in:
parent
b1bb8c49d3
commit
fdaa60f504
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
[tool.ruff]
|
||||
target-version = "py310"
|
||||
line-length = 120
|
||||
indent-width = 4
|
||||
|
||||
|
@ -41,7 +42,6 @@ lint.select = [
|
|||
]
|
||||
|
||||
lint.ignore = [
|
||||
"ANN101", # No type hint for "self" - not necessary and makes noisy code
|
||||
"D203", # Blank line required before class docstring - conflicts with ruff's own formatter
|
||||
"D211", # No line before class, incompatible with D203 - one line before class
|
||||
"D212", # Summary on first line; incompatible with D213 - summary on second line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue