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

Skip to content

Commit c9c65a3

Browse files
STY: Enforce ruff/flake8-pie rules (PIE)
1 parent 41e44b0 commit c9c65a3

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
@@ -119,6 +119,7 @@ select = [
119119
"B",
120120
"F",
121121
"I",
122+
"PIE",
122123
"PLE",
123124
"Q",
124125
"RSE",
@@ -135,6 +136,7 @@ ignore = [
135136
"B023", # TODO: enable
136137
"B028",
137138
"B904",
139+
"PIE790",
138140
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
139141
"W191",
140142
"E111",

0 commit comments

Comments
 (0)
0