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
- A 'type only' module import should not count as importing a module
- no error when extending class that has polymorphic self with a non-polymorphic self
- "Dynamic metaclass not supported" false positive on generics
- Type narrowing not found for combination of overloaded optional argument and null guard
- Common type in container is determined using constructor args
- mypy does not recognize tuple unpacking syntax for TypeVars.
- Analysis time binding of restricted `Generic`s
- no error when unhashable object in dict
- isinstance check widens type
- generic fails to narrow, something to do with using `NoReturn` on contravariant generic
- Docs
- Python not yet supported