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 supported93 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- (🐞) 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__`
- no error when setting property defined without decorator to incorrect type
- TypedDict -> dict compatibility
- no error when setting `init=False` on `Final` field in dataclass
- no error when using `field` outside of a `dataclass`
- Docs
- Python not yet supported