Skip to content

Commit b0d7677

Browse files
STY: Enforce ruff/flake8-pie rules (PIE)
1 parent 563a6bc commit b0d7677

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,12 @@ exclude = ["doc", "nibabel/externals", "tools", "version.py", "versioneer.py"]
118118
select = [
119119
"F",
120120
"I",
121+
"PIE",
121122
"Q",
122123
"UP",
123124
]
124125
ignore = [
126+
"PIE790",
125127
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
126128
"W191",
127129
"E111",

0 commit comments

Comments
 (0)