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
- (🎁) Special case `NoReturn`, `Never`, `Self` and `TypeAlias` to not be subscriptable
- (🐞) An error should be reported when `reveal_type` is used but not called
- isinstance wrongly narrows away Any
- (🎁) `isinstance`/`issubclass` only accept `typing.Union`s of `type`s, not other type forms
- (🐞) `|` operator with `_SpecialForm` determined to be `types.UnionType` it's actually `typing.Union`
- Allow unsafe overrides in sub-subclasses that are compatible with subclass
- (🐞) Artificially literal bools not considered when performing reachability checks where branch terminates
- Consider merging command line flags and configuration file options descriptions
- Allow ignore to be on any line of multi-line statement
- Mypy over Language Server Protocol and VS Code extension
- Docs
- Python not yet supported