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 supported98 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- An Enum with multiple initialisation arguments incorrectly infers the type when calling the Enum.
- ``Optional[Type]`` ignores (implicit) None check, resulting in misstyping of ``Type`` to ``Optional[Type]``
- Star imports can't be redefined
- TypeGuard may spuriously narrow Any -> object
- Warn if instance atribute is defined outside of __init__
- Errors on multi-variable assignments of types
- stubtest: problem with redefined attributes
- dmyy crashes when switching to git branches which removes subdirectory
- Type checking a system-install package yields erronous results
- `dict(...)` hides incompatible assignment when source has `Any` key type
- Docs
- Python not yet supported