python / mypy

Optional static typing for Python
https://www.mypy-lang.org/
Other
17.85k stars 2.74k forks source link

Fix error reporting on cached run after uninstallation of third party library #17420

Closed hauntsaninja closed 1 week ago

hauntsaninja commented 1 week ago

Fixes https://github.com/python/mypy/issues/16766, fixes https://github.com/python/mypy/issues/17049

github-actions[bot] commented 1 week ago

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅