Skip to content

Commit

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

[tool.ruff.lint]
select = ["F", "I", "Q"]
select = [
"F",
"I",
"Q",
"UP",
]
ignore = [
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191",
Expand Down

0 comments on commit bf3e23e

Please sign in to comment.