Commit 80eda12
🔨 ruff: enable BLE catch-all rule (#165)
Adds flake8-blind-except (BLE) to ruff's selected rules so bare `except:`,
`except Exception:`, and `except BaseException:` are flagged. Forces a
deliberate choice on error handling - either narrow the exception or add
`# noqa: BLE001` with a justification.
Annotates the two existing legitimate broad catches (test thread error
collection, observability fallback) with reason comments.
https://claude.ai/code/session_01LKvQDaUrRDui7ZQRkHH4Cp
Co-authored-by: Claude <noreply@anthropic.com>1 parent 74c408c commit 80eda12
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
0 commit comments