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
- False positive: No overload variant of "asdict" matches argument type "Type[DataclassInstance]" [call-overload]
- (🐞) crash with `--pretty` from attrs raising an error in the wrong file
- TypeGuard does not narrow when statement compares for identity (`is True`)
- Add `--strict-bool` flag to prohib treating `bool` as `int`
- Wrong type inference with "yield from" from an Iterator class
- "Name already defined" for PySide6 Property
- Crash on diverging recursive generic protocols
- Infering return type as a union of all returns in type-checked functions
- Fix union inference of generic class and its generic type
- Now overloads with ambiguous `self` are handled properly, refs #11347
- Docs
- Python not yet supported