fix: add E722 to ruff select list to enforce bare except detection

- Explicitly add E722 rule to catch bare except clauses
- Addresses report item #5 (80 bare except clauses)
This commit is contained in:
aitbc
2026-04-30 08:35:26 +02:00
parent 99d1666eda
commit 4d76bf4d97

View File

@@ -107,6 +107,7 @@ select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"E722", # bare except (explicitly enforce)
]
ignore = [
"E501", # line too long, handled by black