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 supported98 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Class scope name resolution issue
- fail typechecking if a parameterized type doesn't declare `__class_getitem__`
- Wrong type hint after unpacking/swapping
- Wrong return type detected for @overload function
- Support glob patterns when configuring `mypy_path`
- multiple discarded variables with undescore (_) cause Incompatible types in assignment
- `in` keyword should narrow Union[TypedDict, ...]
- Consider contracts when evaluating Optional
- @overload interacts badly with @property even with the `type: ignore` workaround
- Error on dict construction from iterable items
- Docs
- Python not yet supported