Skip to content

Commit

Permalink
style: Ignore deprecated PT004 rule (#4520)
Browse files Browse the repository at this point in the history
Ruff rule PT004 is deprecated, so doesn't run with --preview flag, but still appears without the --preview flag.
Since the only error won't be fixed, ignore that rule for the time being.
  • Loading branch information
echoix authored Oct 14, 2024
1 parent 61b380f commit 761d98a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ ignore = [
"PLW1641", # eq-without-hash
"PLW2901", # redefined-loop-name
"PLW3201", # bad-dunder-method-name
"PT004", # pytest-missing-fixture-name-underscore # deprecated, so doesn't appear with --preview
"PTH100", # os-path-abspath
"PTH101", # os-chmod
"PTH102", # os-mkdir
Expand Down

0 comments on commit 761d98a

Please sign in to comment.