Skip to content

Commit 22bfb1e

Browse files
put the ignore on the correct line
1 parent bca9ef0 commit 22bfb1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

misc/analyze_cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ def extract(chunks: Iterable[JsonDict]) -> Iterable[JsonDict]:
4141
if isinstance(chunk, dict):
4242
yield chunk
4343
yield from extract(chunk.values())
44-
elif isinstance(chunk, list):
45-
yield from extract(chunk) # type: ignore[unreachable] #TODO: is this actually unreachable, or are our types wrong?
44+
elif isinstance(chunk, list): # type: ignore[unreachable] #TODO: is this actually unreachable, or are our types wrong?
45+
yield from extract(chunk)
4646

4747
yield from extract([chunk.data for chunk in chunks])
4848

0 commit comments

Comments
 (0)