Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commite4fd2e3
committed
Drop wrong variable annotations in BlobFilter.__call__
This fixes two mypy errors by removing the annotations of thefilter_parts and blob_parts local variables as lists. They onlyneed to be sequences (more precisely, they only need to be sizedand iterable, they don't even need to support subscripting in theway __call__ uses them), and mypy is able to infer their type.1 parent4dfd480 commite4fd2e3
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
64 |
| - | |
| 63 | + | |
| 64 | + | |
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
|
0 commit comments
Comments
(0)