Commit e4fd2e3
committed
Drop wrong variable annotations in BlobFilter.__call__
This fixes two mypy errors by removing the annotations of the
filter_parts and blob_parts local variables as lists. They only
need to be sequences (more precisely, they only need to be sized
and iterable, they don't even need to support subscripting in the
way __call__ uses them), and mypy is able to infer their type.1 parent 4dfd480 commit e4fd2e3
1 file changed
+3
-3
lines changed| 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