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 supported92 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Error messages when Type[X] is not a subtype of Type[SomeProtocol] are not very descriptive
- Odd error message when kwargs passed as **dict
- Mypy forgets type information after a nested if-statement.
- Mypy rejects valid nested class inside of a NamedTuple class definition
- TypedDict item insertion support
- Use analyzed type when resolving attributes via __getattr__
- Type of argument is not inferred for a TypeVar in a Generic type
- False positive on re.compile as attrs converter
- Incompatible types in assignment for `dict[key] = tmp = value` and nested structures
- Show a more detailed error when __getattr__ in __init__.py has wrong signature
- Docs
- Python not yet supported