Skip to content

Commit

Permalink
STY: Enforce ruff/flake8-pytest-style rules (PT)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Sep 22, 2024
1 parent ce0cc25 commit ca871a6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,19 @@ line-length = 99
exclude = ["doc", "nibabel/externals", "tools", "version.py", "versioneer.py"]

[tool.ruff.lint]
select = ["F", "I", "Q"]
select = [
"F",
"I",
"PT",
"Q",
]
ignore = [
"PT004",
"PT007",
"PT011",
"PT012",
"PT017",
"PT018",
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191",
"E111",
Expand Down

0 comments on commit ca871a6

Please sign in to comment.