Commit 382ed6b
fix: resolve ruff PLR0912 and SIM105 lint errors
Add noqa for PLR0912 (too many branches) alongside existing PLR0915
suppression, and use contextlib.suppress for the PatronAccessException
catch-and-pass pattern.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent efe5fef commit 382ed6b
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
108 | | - | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
194 | | - | |
| 195 | + | |
195 | 196 | | |
196 | | - | |
197 | | - | |
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
| |||
0 commit comments