tools: bump ruff to >=0.0.252 and ignore PLW2901

This commit is contained in:
bastimeyer 2023-02-22 21:33:27 +01:00 committed by Sebastian Meyer
parent d33df662a4
commit de42968bde
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ freezegun>=1.0.0
shtab
versioningit >=2.0.0, <3
ruff
ruff >=0.0.252
mypy
lxml-stubs

View File

@ -100,6 +100,7 @@ extend-ignore = [
"A003", # builtin-attribute-shadowing
"C408", # unnecessary-collection-call
"ISC003", # explicit-string-concatenation
"PLW2901", # redefined-loop-name
]
extend-exclude = [
"docs/conf.py",