PLR2004: fix

This commit is contained in:
Jörg Thalheim
2025-08-26 15:55:02 +02:00
parent f26499edb8
commit 4cb17d42e1
20 changed files with 129 additions and 41 deletions

View File

@@ -38,7 +38,6 @@ lint.ignore = [
"G001", # logging-string-format
"G004", # logging-f-string
"PLR0911", # too-many-return-statements
"PLR2004", # magic-value-comparison
"PT023", # pytest-incorrect-mark-parentheses-style
"S603", # subprocess-without-shell-equals-true
"S607", # start-process-with-partial-path
@@ -60,7 +59,8 @@ lint.ignore = [
"{test_*,*_test,**/tests/*}.py" = [
"SLF001", # private-member-access
"S101", # assert
"S105" # hardcoded-password-string
"S105", # hardcoded-password-string
"PLR2004" # magic-value-comparison
]
"**/fixtures/*.py" = [
"S101" # assert