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
- Regression: mypy thinks line is unreachable in 0.780 upwards, while (correctly) not showing a warning in 0.770 and below
- Support disallow_untyped_decorators = false option for 3rd party libraries
- __add__ and __iadd__ are incompatible for list
- Incorrect constraint inference for unions with nested generics
- mypy doesn't understand dict contstruction
- @property returning descriptor instance triggers false positive
- (🎁) Flag to make default return type `None` instead of `Any`
- Type fails to get "refined" on branch when `is None`-check happens in variable assignment
- __r<magic>__ methods for reflected (swapped) operands doesnt duck type int to float
- Unknown `DefaultNamedArg` raises type incompatibility errors
- Docs
- Python not yet supported