Closed
Description
PEP 484 currently says:
A
# type: ignore
comment on a line by itself disables all type checking for the rest of the file.
I think that's excessive. It should probably be limited to the current indented block, e.g.
if blargh():
# type: ignore
1 + 'a' # No error here
2 + 'b' # Should be an error
Metadata
Metadata
Assignees
Labels
No labels