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 supported101 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- [mypyc] Add memoization support for functools.cached_property
- Generic default type in `type` revealed as `Any`
- Narrow tuples of singletons
- mypy cannot decide if a cast is necessary or redundant
- `in` operator error with Generator
- Callable vs Protocol with `self` argument
- `!= (None, None)` Narrowing only in else branch
- [stubtest] False positive involving overloaded function with default argument for parameter with type variable
- `x in y` doesn't report errors when `x` is not `str` and `y: union | involving | str`
- Reduce TypeForm recognition slowdown: 2 identifier fast-reject filters
- Docs
- Python not yet supported