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
- (🎁) `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
- Error on instance property and init-only variable with the same name in a dataclass
- Errors not always reported for a file in incremental mode (reopening #4043)
- Consider merging command line flags and configuration file options descriptions
- Allow ignore to be on any line of multi-line statement
- (🐞) Invalid per-module options in inline configuration are silently ignored
- Mypy over Language Server Protocol and VS Code extension
- Docs
- Python not yet supported