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
- Feature request: flag attributes set in `__init__` but not `__setstate__`
- False positive for class method without Self annotation
- Allow setting a final instance attribute in `__set_name__`?
- no error `__future__.annotations` is imported, targeting python 3.8 and subscripting `type` in a position where it gets evaluated at runtime
- `NamedTuple`s cannot have nested classes
- Allow nested classes in `NamedTuple` bodies
- @overload using `Sequence[Never]` to match empty sequence
- Check with Mypyc level of strictness
- TypeVar declared at class scope with generic bound specialized on an in-scope generic parameter TypeVar doesn't give an error
- (🐞) no error with `|` operator on `tuple` and `type`
- Docs
- Python not yet supported