Skip to content

Commit 2c10d93

Browse files
author
MarcoGorelli
committed
silence new ruff codes
1 parent 0af5142 commit 2c10d93

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,18 @@ ignore = [
261261
"PLR0912",
262262
# Too many statements
263263
"PLR0915",
264+
# Global statements are discouraged
265+
"PLW0603",
264266

265267
# Additional checks that don't pass yet
266268
# Within an except clause, raise exceptions with ...
267269
"B904",
268270
# Magic number
269271
"PLR2004",
272+
# Outer loop variable overwritten by inner assignment
273+
"PLW2901",
274+
# Consider `elif` instead of `else` then `if` to remove indendation level
275+
"PLR5501",
270276
]
271277

272278
exclude = [

0 commit comments

Comments
 (0)