Skip to content

Commit 4e63275

Browse files
Enforce ruff/flake8-pie rules (PIE)
1 parent 086988c commit 4e63275

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
@@ -246,6 +246,7 @@ ignore = [
246246
"E731",
247247
"UP007",
248248
"PERF20",
249+
"PIE790", # unnecessary pass statement
249250
"RUF001",
250251
"RUF002",
251252
"RUF003",
@@ -260,6 +261,7 @@ extend-select = [
260261
"TID", # flake8-tidy-imports (absolute imports)
261262
"I", # isort
262263
"PERF", # Perflint
264+
"PIE", # flake8-pie
263265
"PGH", # pygrep-hooks
264266
"RUF",
265267
"UP", # Pyupgrade

0 commit comments

Comments
 (0)