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 for list of two callables
- Missing error when an attribute is a variant generic
- Option to disable Python2/comment-style type annotations
- Adds `__hash__` method to `@dataclasses.dataclass`
- (🐞) No error when assigning non-concrete type object to variable of `type` bound with a union (`Protocol`, `abstract`)
- Support multi-statement inference for custom types
- Try block handling assumes all statements could have succeeded
- no error when getter and setter types don't match in `property.__init__`
- TypedDict -> dict compatibility
- no error when setting `init=False` on `Final` field in dataclass
- Docs
- Python not yet supported