Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter to possible sys.path entries before trying to resolve a module.
With a long sys.path (it's got 300 entries), this removes 94% of stat syscalls from running mypy. With all the filesystem caching, that's only a small time savings, though it will depend on your filesystem.
- Loading branch information