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 supported103 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- List constant expression treated differently to list literal
- Incorrect has-type on unpacking of known TypeVarTuple type from classmethod from class with contrained generic
- Error message for `TypeForm` arguments with a single unresolvable forward reference is misleading
- 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
- `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`
- Docs
- Python not yet supported