Skip to content

Commit

Permalink
MAINT: Ignore some rules for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Abel Aoun committed Dec 28, 2023
1 parent 09ff606 commit 87ff9c2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,10 @@ ignore = [

[tool.ruff.lint.pydocstyle]
convention = "numpy"

[tool.ruff.per-file-ignores]
"tests/**/*.py" = [
"S101", # Allow asserts allowed in tests.
"ARG", # Allow unused function args for tests fixtures.
"FBT" # Allow booleans as positional arguments in tests.
]

0 comments on commit 87ff9c2

Please sign in to comment.