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
- --warn-redundant-casts doesn’t flag cast to a tuple type returned by a generic function
- Closed TypedDicts could be accepted for narrow Mapping
- `Annotated[int]` (no metadata) is not reported in type aliases and functional NamedTuple/TypedDict fields
- Report a one-argument `Annotated` in type aliases and functional forms
- Can't get FunctionType
- `issubclass()` with a NewType as the first argument is not reported
- [WIP] Remove return type special-casing for plain type variables
- [mypyc] Emit unsigned casts for i8 and i16 operands
- [mypyc] Fix leak of an overridden attribute default in non-separate builds
- `Literal[...].__args__` reports attribute error
- Docs
- Python not yet supported