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 supported84 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Set[T] is incompatible with Set[Optional[T]] - Set[None]
- Per-module options patterns starting with *
- Callable type anntoation written apart of assignment causes false positive typecheck result.
- Order of clause in one-line if/else statement yields different mypy behaviors
- `bytearray` treated as a subclass of `bytes`
- list of types with multiple bases only uses first shared base?
- Mypy cannot infer types of initialized variables
- Request: Optional config to warn when a parameter annotation could use `Mapping` instead of `Dict` or `Sequence` instead of `List`
- "error: Name is not defined" and confusing behavior on instance-level classes
- Collapsed Optionals in TypeVar cause weird error messages
- Docs
- Python not yet supported