Commit 3f48c0e
fix(webhooks): drop redundant binascii.Error in except (B014)
binascii.Error is a subclass of ValueError, so listing both in the
except clause triggers flake8-bugbear B014. Catching ValueError alone
covers both cases.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 7402f18 commit 3f48c0e
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
69 | | - | |
| 68 | + | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
0 commit comments