8000 STY: Enforce ruff/flake8-pie rules (PIE) · nipy/nibabel@7ec41ad · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ec41ad

Browse files
STY: Enforce ruff/flake8-pie rules (PIE)
1 parent 1c7f83f commit 7ec41ad

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,14 @@ 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+
"F",
120+
"I",
121+
"PIE",
122+
"Q",
123+
]
119124
ignore = [
125+
"PIE790",
120126
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
121127
"W191",
122128
"E111",

0 commit comments

Comments
 (0)
0