-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit c6a72c7
cbor2: Improve decoder to pass Ruff F821 undefined-name.
These were probably intentional missing names, however raising
NotImplementedError or KeyError is more explicit than trying to call an
unknown function.
Signed-off-by: Angus Gratton <angus@redyak.com.au>1 parent 786c0ea commit c6a72c7
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | - | ||
163 | + | ||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | - | ||
188 | + | ||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
0 commit comments