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 supported93 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Tests won't run on Windows. FileNotFoundError: [WinError 2] The system cannot find the file specified.
- Lazily process installed packages
- mypy is slow when type checking torch
- False positive list comprehension for union type source iterable
- no error on `TypeVar` with explicitly declared variance when the generic is used in another type with a different variance
- no error when `TypeVar` with explicit variance is used in the wrong position when it's part of a union
- Issues with popular third-party packages (meta)
- itertools.chain returns object when using iterators of different types
- mypy tries to infer the type parameters of a generic class even if they are explicitly given
- Declaration-order-dependent possibly-undefined false positive with nested ifs/matches, decorated any functions and NoReturn
- Docs
- Python not yet supported