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
- Many classes should be decorated as `@final`
- Protocol restriction in generics do not work in methods. But work on functions.
- false positive: "Overloaded function signatures ... overlap with incompatible return types"
- Support return/raise statements within a version/platform check.
- Argument type `Union[T, List[T]]` fails to infer constaints
- Meta issue: better `getattr` support
- Warn that annotations could be if TYPE_CHECKING
- Use mypy to find backward incompatibilities between library versions
- "--install-types not supported in this mode of running mypy" even with `--non-interactive`
- dict literals inferred like immutable Mapping
- Docs
- Python not yet supported