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 supported92 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- False negative: isinstance() guard removes parameterisation by `TypeVar`
- Show type aliases in error messages
- Incorrect status of name in class def or module level, before being assigned or after being deleted.
- Returning optional union from method complains about `got "object"`
- mypy-lang.org About page is quite outdated :-)
- datetimes `__sub__` is not symmetrical in subclass.
- Narrowing an optional class type to an unrelated Protocol causes a false unreachable error
- Tweak the mypy badge to include the word "type"
- Making a variable optional in an `else` block doesn't work for `try`/`else`
- Weird error message for incompatible override when using a `TypeVar` for `self`
- Docs
- Python not yet supported