[pre-commit] Fix the comment in disables following autofix

This commit is contained in:
Pierre Sassoulas 2024-05-21 08:50:04 +02:00
parent a5dc61581f
commit 530049d6c8
1 changed files with 2 additions and 4 deletions

View File

@ -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