fast parser: # type: ignore
should ignore non-* imports entirely
#1739
Labels
# type: ignore
should ignore non-* imports entirely
#1739
The
parse_file
function from the old parser does this:The effect is that a
# type: ignore
comment on an import statement doesn't just silence errors on that line, but also prevents mypy from trying to process the imported module at all.The fast parser should do the same thing.
The text was updated successfully, but these errors were encountered: