[pre-commit] Fix the comment in disables following autofix
This commit is contained in:
parent
a5dc61581f
commit
530049d6c8
|
@ -89,7 +89,6 @@ target-version = [
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length = 88
|
line-length = 88
|
||||||
|
|
||||||
src = [
|
src = [
|
||||||
"src",
|
"src",
|
||||||
]
|
]
|
||||||
|
@ -135,13 +134,12 @@ lint.ignore = [
|
||||||
"D402", # First line should not be the function's signature
|
"D402", # First line should not be the function's signature
|
||||||
"D404", # First word of the docstring should not be "This"
|
"D404", # First word of the docstring should not be "This"
|
||||||
"D415", # First line should end with a period, question mark, or exclamation point
|
"D415", # First line should end with a period, question mark, or exclamation point
|
||||||
# pycodestyle ignore
|
|
||||||
# pytest can do weird low-level things, and we usually know
|
# pytest can do weird low-level things, and we usually know
|
||||||
# what we're doing when we use type(..) is ...
|
# what we're doing when we use type(..) is ...
|
||||||
"E721", # Do not compare types, use `isinstance()`
|
"E721", # Do not compare types, use `isinstance()`
|
||||||
|
# pylint ignore
|
||||||
"PLR5501", # Use `elif` instead of `else` then `if`
|
"PLR5501", # Use `elif` instead of `else` then `if`
|
||||||
"PLW0120", # remove the else and dedent its contents
|
"PLW0120", # remove the else and dedent its contents
|
||||||
# pylint ignore
|
|
||||||
"PLW0603", # Using the global statement
|
"PLW0603", # Using the global statement
|
||||||
"PLW2901", # for loop variable overwritten by assignment target
|
"PLW2901", # for loop variable overwritten by assignment target
|
||||||
# ruff ignore
|
# ruff ignore
|
||||||
|
|
Loading…
Reference in New Issue