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 supported88 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Match involving unpacked tuple incorrectly marked unreachable
- Args with a generic type will use the mother type, rather than a literal
- Calling float.__add__ with an integer as first argument is valid
- show_error_codes and show_error_code_links missing in documentation
- When a type error results from type information being lost because an object (context manager) is used with `with` (with-as block), mypy should emit a hint alluding to this.
- `.get(key)` should narrow final TypedDicts
- TypeGuard does not narrow when assignment expression
- [pre-commit.ci] pre-commit autoupdate
- In a function call, if a variable accessed in an iteratable doesn't have an attribute, mypy picks the first overload available, creating spurious further list-item errors.
- Class variable in multiple base classes incompatible
- Docs
- Python not yet supported