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 supported105 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- TypedDict -> dict compatibility
- no error when setting `init=False` on `Final` field in dataclass
- no error when using `field` outside of a `dataclass`
- generics used in type aliases incorrectly cause `Expression type contains "Any"` error
- Confusing error when subclassing `var.__class__`
- dmypy: Provide an option to make dmypy quieter.
- `singledispatch.register` doesn't typecheck registration of generic functions
- mypy doesnt use unitest.TestCase.assertIsInstance checks for type narrowing
- super() is analyzed differently from super(C, self) in generic subclass context
- lambda input type is `Any` when function type is a union, and no error when lambda does not satisfy any of the types in the union
- Docs
- Python not yet supported