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:
@@ -107,6 +107,7 @@ select = [
|
|||||||
"B", # flake8-bugbear
|
"B", # flake8-bugbear
|
||||||
"C4", # flake8-comprehensions
|
"C4", # flake8-comprehensions
|
||||||
"UP", # pyupgrade
|
"UP", # pyupgrade
|
||||||
|
"E722", # bare except (explicitly enforce)
|
||||||
]
|
]
|
||||||
ignore = [
|
ignore = [
|
||||||
"E501", # line too long, handled by black
|
"E501", # line too long, handled by black
|
||||||
|
|||||||
Reference in New Issue
Block a user