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
- Honor return type of `__new__` even if not a subclass
- Syntax for ignoring error due to an issue
- `tuple` instantiation ignores generics
- I want to print class variable `animal_name` for multiple classes. Multiple classes consist of dataclass `Cat` and non-dataclass `Bird`.
- `no-redef` issued with package import but not with local import
- Update the cheatsheet for functions and keyword argument typing
- Context manager `__exit__` return type `bool | None` is treated as None for reachability analysis
- (🐞) contravariant generic met to become `Never`, expected intersection
- reveal_type shows the same, but one of the objects generates an error
- stubtest: Support `type_check_only` decorator
- Docs
- Python not yet supported