mypy
https://github.com/python/mypy
Python
Optional static typing for Python
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported88 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- mypy crashes on importing littlefs (from littlefs-python-0.10.0)
- EncodingWarning when running under PyPy
- False positive possibly-undefined in a combination of try and loop
- generics are removed from function signatures that are assigned to `Callable` types
- mypy sometimes confuses nested classes-in-functions which share the same name
- "Can't find package" error when package is installed but missing a py.typed file
- Incorrect "redundant cast" for linked TypeVar `T` and `type[T]` variables
- Support narrowing literals and enums using the in operator in combination with tuple expressions.
- False "type assignment error" when assigning an instance of `Field` class or classes extended from it.
- Better error message when union may not have been narrowed
- Docs
- Python not yet supported