Skip to content

Commit 6869659

Browse files
committed
chore(ruff): allow using assert in tests
This heavily simplifies type narrowing there.
1 parent 53c46e7 commit 6869659

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ max-complexity = 16 # TODO: should be lower
680680
"fuzzing/targets.py" = ["PLC0415"]
681681
"scripts/*" = ["T201", "T203"]
682682
"weblate/*/migrations/*.py" = ["RUF012"]
683-
"weblate/*/tests**.py" = ["ANN001", "S105", "S106"]
683+
"weblate/*/tests**.py" = ["ANN001", "S101", "S105", "S106"]
684684
"weblate/auth/migrations/0003_fixup_teams.py" = ["T201"]
685685
"weblate/examples/*.py" = ["CPY001", "INP001"]
686686
"weblate/settings_*.py" = ["F405"]

0 commit comments

Comments
 (0)