Skip to content

Commit

Permalink
Remove unnecessary lint ignores and correct test lint ignore code (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas authored Nov 25, 2024
1 parent f0d85f6 commit aeee8c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions template/pyproject.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,6 @@ asyncio_mode = "auto"
[tool.ruff]
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 template/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 aeee8c6

Please sign in to comment.