Skip to content

Commit e11c790

Browse files
STY: Enforce ruff/flake8-comprehensions rules (C4)
1 parent 4af0085 commit e11c790

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,16 @@ exclude = ["doc", "nibabel/externals", "tools", "version.py", "versioneer.py"]
116116

117117
[tool.ruff.lint]
118118
select = [
119+
"C4",
119120
"F",
120121
"I",
121122
"Q",
122123
"UP",
123124
]
124125
ignore = [
126+
"C401",
127+
"C408",
128+
"C416",
125129
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
126130
"W191",
127131
"E111",

0 commit comments

Comments
 (0)