{
"id": "py-broad-except",
"language": "python",
"group": "reliability",
"listingTitle": "Py broad except",
"title": "Review broad except",
"mvvm": false,
"defaultSeverity": "info",
"legacyGroup": "nim-style",
"why": "Catching Exception or BaseException can hide programming defects and make unrelated failures look recoverable.",
"suggestion": "Catch the expected exception types, or explicitly suppress BLE001 when a boundary must contain unknown failures.",
"version": 5,
"semanticMaturity": "text",
"securityKind": "none",
"taxonomy": [
"reliability"
],
"requirements": [
"sourceText"
],
"packs": [
"python",
"fastapi"
],
"implementation": "src/languages/python/rules.rs",
"languages": [
"python"
],
"frameworks": [],
"languageVersions": [],
"limitations": [
"Explicit Ruff BLE001 noqa directives, inline Pylint disables, and configured Pylint broad-exception suppressions are honored.",
"Handlers whose first executable statement rethrows or translates the exception are treated as explicit exception boundaries."
]
}