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 supported96 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Type is not being narrowed properly in match statement
- False positive: No overload variant of "asdict" matches argument type "Type[DataclassInstance]" [call-overload]
- Cryptic error message for two generic callables with different variable binding
- Support `dataclass_transform`'s `field spec's newest addition: `converter`
- MyPy 1.11.0 loop variable persistance
- Add plugin ability to defer to default type analyzer
- False positive - Type narrowing of class attributes
- When importing numpy>=2.0.0, report "AssertionError: Internal error: unresolved placeholder type None" when using stubgen
- (🐞) crash with `--pretty` from attrs raising an error in the wrong file
- min()/max() with default value cause issues with key function type
- Docs
- Python not yet supported