Skip to content

Commit

Permalink
STYLE: Disable checks for PLR2004 within the test directory
Browse files Browse the repository at this point in the history
* Allows the use of 'magic values' in comparisons within the test
  directory
  • Loading branch information
NicerNewerCar committed Aug 11, 2023
1 parent dc2fb2f commit 7513ea9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ isort.known-first-party = [
]
"tests/**.py" = [
"S101", # Allow the use of assert within the test directory
"PLR2004", # Allow the use of magic values in comparisons within the test directory
]

[tool.setuptools_scm]
Expand Down

0 comments on commit 7513ea9

Please sign in to comment.