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 supported92 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- 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 an non-concrete type object to a `Callable` variable matching the constructor (`Protocol`, `abstract`)
- (🐞) 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
- error message: move star prefix to Argument
- Try block handling assumes all statements could have succeeded
- no error when getter, setter or deleter doesn't exist on properties defined without decorator
- no error when getter and setter types don't match in `property.__init__`
- Docs
- Python not yet supported