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 supported105 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Docs: clarify strict_optional description and link to more details
- `closed=True` should not be supported for Python <3.15
- Fix list concatenation ignoring outer list type context
- `get_method_signature_hook` is not invoked for `super().method(...)` calls
- overloads not properly evaluated with mypy 2.3.0 and numpy 2.5.1
- Matching generic return type of `SupportsGetItem`
- Use string values when checking enum TypedDict keys
- Allow enum with zero members (rational provided)
- docs: document PEP 696 type parameter defaults
- TypedDict accepts an Enum member as a key and reveals the value type, but KeyErrors at runtime
- Docs
- Python not yet supported