Skip to content

Commit

Permalink
[pre-commit] Fix the comment in disables following autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed May 21, 2024
1 parent a5dc615 commit 530049d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ target-version = [

[tool.ruff]
line-length = 88

src = [
"src",
]
Expand Down Expand Up @@ -135,13 +134,12 @@ lint.ignore = [
"D402", # First line should not be the function's signature
"D404", # First word of the docstring should not be "This"
"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
# 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`
"PLW0120", # remove the else and dedent its contents
# pylint ignore
"PLW0603", # Using the global statement
"PLW2901", # for loop variable overwritten by assignment target
# ruff ignore
Expand Down

0 comments on commit 530049d

Please sign in to comment.