Skip to content

Commit

Permalink
STY: Enforce ruff/flake8-comprehensions rules (C4)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Sep 22, 2024
1 parent 4af0085 commit e11c790
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,16 @@ exclude = ["doc", "nibabel/externals", "tools", "version.py", "versioneer.py"]

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

0 comments on commit e11c790

Please sign in to comment.