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
- exponentially slow typechecking when overloaded numpy functions used in generic containers like list/dict
- misc instance check on `super` triggers despite second argument being Any
- Return type hint fails with multiple supplied type vars
- Disallow item access of NotRequired TypedDict entries.
- Functions with type variable value restriction lose some AST information
- mypyc crashes when using a narrowed type that is not found at compile time
- stubgen: missing `__str__` method when the signature is different from default
- Cannot exclude encoder.py from type checking
- Attrs plugin mishandles typing.Self in generated inits
- Invalid typing assumption over variable with list(StrEnum) on python 3.11
- Docs
- Python not yet supported