Skip to content

Commit

Permalink
pyproject: Disable two pytest ruff rules
Browse files Browse the repository at this point in the history
Different ruff versions have contradicting opinions about how to write
the pytest decorators. Writing them with () as we do now is more
general, so let's keep it that way.
  • Loading branch information
martinpitt authored and jelly committed Oct 22, 2024
1 parent 016d7db commit b294f48
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,7 @@ select = [
"W", # warnings (mostly whitespace)
"YTT", # flake8-2020
]

ignore = [
"PT001", "PT023", # different versions can't make up their mind how to write decorators
]

0 comments on commit b294f48

Please sign in to comment.