mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-05-23 06:35:55 +00:00
chore: update ruff ignore rules for PLC0415, PT030, PLW0108
This commit is contained in:
parent
8339249381
commit
15f1d3de3b
1 changed files with 2 additions and 0 deletions
|
|
@ -121,8 +121,10 @@ allow-multiline = false
|
|||
"tests/*" = [
|
||||
"INP001", # "Add an __init__.py"
|
||||
"PLR2004", # "Magic value used in comparison"
|
||||
"PLW0108", # "Lambda may be unnecessary" - used with assertRaises
|
||||
"PT009", # "Use a regular assert instead of unittest-style"
|
||||
"PT027", # "Use pytest.raises instead of unittest-style"
|
||||
"PT030", # "pytest.warns match parameter" - broad warnings intentional in tests
|
||||
"S101", # "Use of assert detected"
|
||||
"SLF001" # "Private member accessed"
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue