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 supported97 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- `tuple[*Ts]` subtype with extra type parameter not gradually assignable to itself
- MyPy fails type narrowing on `not issubclass(X, type[T]): raise`
- Documentation code blocks should be type checked as real tests
- Stop `--update-data` from inserting spurious blank lines when dealing with report comments
- [mypyc] feat: specialize `sum` using for loop helpers if possible [2/2]
- [mypyc] feat: use exact dict getitem op for module dict lookup [1/1]
- [mypyc] feat: use exact_dict_rprimitive for globals dict rtype [2/2]
- Document the fact that that using a type ignore of a broader ignore when a subcode exists triggers unused ignore
- Union interacts poorly with `isinstance`-based unreachability
- `Literal["..."]`s incorrectly assignable to protocol with `__getitem__(slice) -> Self`
- Docs
- Python not yet supported