Skip to content

Commit ad79b6b

Browse files
STY: Enforce ruff/flake8-comprehensions rules (C4)
1 parent e003f5a commit ad79b6b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,16 @@ line-length = 99
115115
exclude = ["doc", "nibabel/externals", "tools", "version.py", "versioneer.py"]
116116

117117
[tool.ruff.lint]
118-
select = ["F", "I", "Q"]
118+
select = [
119+
"C4",
120+
"F",
121+
"I",
122+
"Q",
123+
]
119124
ignore = [
125+
"C401",
126+
"C408",
127+
"C416",
120128
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
121129
"W191",
122130
"E111",

0 commit comments

Comments
 (0)