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
- TypedDict as default_factory in dataclasses is not inferred correctly
- Class typevars lose information from `isinstance` checks
- Give better error message if type inference fails because of unsatisfiable upper bound
- Default values for generic attributes are unsafe
- error in argument when using chained function-call
- Prefer `__new__` over `__init__` for determining callable type of a class
- Infer generic types for default implementations
- mypy fails to recognize functions as generators when `sys.platform` is used in conditions
- Allow installing stub packages in mypy's Python as a fallback
- Plugin extensions to enable robust checking for unawaited coroutines in Trio programs
- Docs
- Python not yet supported