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
- (🐞) TypeGuard behaves inconsistently on instance methods.
- Unexpected incompatible types in assignment (Failed in recursive type checking, nested protocol with generic type)
- Replace implicit reexport with explicit
- chore: add a utility to generate a schema file
- Return types for Overloads with "Optional[TypeVar]" arguments are deducted as just "object"
- Type narrowing fails for classes with custom `__getattr__`
- stubtest raises an exception when a `classmethod`'s first parameter not named `cls`
- Overloaded class methods not supported by Protocol
- Mypy error with tuple types Including TypedDict in return
- Typeshed import cycle causes mypy to start claiming a fixed-length tuple type alias declared with `TypeAlias` is "not valid as a type"
- Docs
- Python not yet supported