Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a failing test for type ignores in dmypy
This catches a regression caused by the previous commits where "type: ignore" comments are erroneously marked as unused in re-runs of dmypy. As far as I can tell, this only happens in modules which contain an import that we don't know how to type (such as a module which does not exist), and a submodule which is unused.
- Loading branch information