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
- Keys and values could be narrower for closed TypedDicts
- [2.0 regression] Bad result from heuristic non-narrowing of type[T]
- `stubgen --inspect-mode` crashes with `AttributeError on PEP 604 union syntax (X | Y)` *(mypy 2.1.0)*
- TypeIs and TypeGuard fail to narrow type[C]
- Unwrap type[...] before intersection narrowing for TypeIs/TypeGuard
- Fix Any identity narrowing of enum sentinels
- `copy.replace` type inference regression: breaks Self-returning __replace__ with bound TypeVar
- Type narrowing of `Any` with `is` can widen type of variable for enum member to `Any`
- Fix TypeIs narrowing for covariant generic Any
- Fix inconsistent strict_optional documentation
- Docs
- Python not yet supported