pyproject.toml: enable linting of bare exceptions

This commit is contained in:
Peter Barker
2026-03-23 08:14:01 +11:00
committed by Peter Barker
parent bc1aa19b28
commit ee2e7dfa0f
+9
View File
@@ -1,5 +1,14 @@
[tool.ruff]
target-version = "py310"
line-length = 127
lint.select = [
"BLE001", # flake8-blind-except
"E", # pycodestyle
"F", # Pyflakes
]
lint.ignore = [
"E402", # module-import-not-at-top-of-file
]
lint.extend-select = [
"I", # isort
"TID", # flake8-tidy-imports