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 supported83 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- (🐞) false narrowing with reassignment in loop
- Any type causes worse type inference with higher-order function
- mypyc: dataclasss __annotations__ are wrong
- Mypy not resolving protocol class as callable in check_reverse_op_method (and possible fix)
- `comparison-overlap` error not triggered for booleans
- stubgen: recognize qualified builtins decorators
- No error on new union syntax with union of fake types (`TypeAlias` and `None`)
- generics fail to infer with an empty list
- Mypy does not detect redundant keyword arguments in 'str.format()'
- `classmethod`s shouldn't be allowed to access generic attributes
- Docs
- Python not yet supported