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
- False positive error "incompatible type" calling super() on a generic class with TypeVar constraints
- (📚) Update comment in `Literal` example to explain why the redundant overload is needed
- Type narrowing for dict.get("key") is not None
- Allow a base class to restrict the type of subclass's inner class
- (🐞) `overload`s that exhaust finite `Literal`s(`bool`/`Enum`) not treated as exhaustive
- None is not a possible value for type variable bound to optional value?!
- False positive `safe-super` errors for properties defined in protocol classes using inheritance
- Subclass attribute type narrowing on assignment
- any reason why ExtendedTraverserVisitor does not set allow_interpreted_subclasses=True?
- Incompatible signature using `singledispatchmethod` in a subclass
- Docs
- Python not yet supported