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

Skip to content

Commit 576b74b

Browse files
STY: Enforce ruff/flake8-pie rules (PIE)
1 parent b4fb300 commit 576b74b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ select = [
120120
"C4",
121121
"F",
122122
"I",
123+
"PIE",
123124
"PLE",
124125
"Q",
125126
"RSE",
@@ -139,6 +140,7 @@ ignore = [
139140
"C401",
140141
"C408",
141142
"C416",
143+
"PIE790",
142144
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
143145
"W191",
144146
"E111",

0 commit comments

Comments
 (0)
0