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 supported105 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Misleading warning message when using ABCMeta instead of Protocol
- Support instantiation of type[SomeTypeVar] -> SomeTypeVar
- mypy rejects unpacking into same variable
- Spurious errors on the builtin open when running mypy on mypy
- appending `#type:ignore` to an import does more than skipping analyzing the import
- (📚) Update comment in `Literal` example to explain why the redundant overload is needed
- Type narrowing for dict.get("key") is not None
- Allow a base class to restrict the type of subclass's inner class
- (🐞) `overload`s that exhaust finite `Literal`s(`bool`/`Enum`) not treated as exhaustive
- False positive `safe-super` errors for properties defined in protocol classes using inheritance
- Docs
- Python not yet supported