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
- Support instantiation of type[SomeTypeVar] -> SomeTypeVar
- mypy rejects unpacking into same variable
- Spurious errors on the builtin open when running mypy on mypy
- Failing to infer type upon concretization of generic (inferred <nothing>)
- False positive in return type on a decorator factory whose results can decorate functions or coroutines
- appending `#type:ignore` to an import does more than skipping analyzing the import
- Misleading issue text when return type doesn't match type annotation
- False positive error "incompatible type" calling super() on a generic class with TypeVar constraints
- (📚) Update comment in `Literal` example to explain why the redundant overload is needed
- Type narrowing for dict.get("key") is not None
- Docs
- Python not yet supported