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 supported101 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- docs: document that stubtest ignores private stub names
- Endless call cycle between is_callable_compatible and is_protocol_implementation
- Matching generic return type of `SupportsGetItem`
- Reject non-string enum members as 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
- [mypyc] Native iteration over zero-copy memory buffers (PEP 3118 / PyArrow) for structured data
- Suggest making a protocol member read-only on invariance conflict
- Infer yield-from item type for concrete Iterable subclasses
- Docs
- Python not yet supported