Skip to content

Commit

Permalink
Remove unnecessary linting ignores and update test configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas committed Nov 25, 2024
1 parent 4c41532 commit 4a3c241
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ asyncio_mode = "auto"
target-version = "py311"
lint.select = ["ALL"]
lint.ignore = [
"ANN101", # Self... explanatory
"ANN102", # cls... just as useless
"ANN401", # Opinioated warning on disallowing dynamically typed expressions
"D203", # Conflicts with other rules
"D213", # Conflicts with other rules
Expand Down
2 changes: 1 addition & 1 deletion tests/ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ lint.extend-select = [
lint.extend-ignore = [
"S101", # Use of assert detected. As these are tests...
"SLF001", # Tests will access private/protected members...
"TCH002", # pytest doesn't like this one...
"TC002", # pytest doesn't like this one...
]

0 comments on commit 4a3c241

Please sign in to comment.