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
- Type annotations in class instance attributes on variable definition by execution order vs lexical order
- (🐞) `always-true`/`always-false` doesn't activate until it's truth is checked
- generic with union value inferred as common base
- (🎁) multiple platform/version compatible mode
- `isinstance(x, CallableType) and x.is_type_object()` is a code smell
- (🐞) No error with `disallow-any-generics` and `type`
- TypeVar bound to Callable confuses Mypy
- dmypy does not detect the --no-color option
- Incorrect errors caused by boolean narrowing on attributes
- (🐞) Wrong column number for name-defined when assigning to same symbol
- Docs
- Python not yet supported