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 supported98 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- WIP: adds better `namedtuple` semantic analyzer
- (🎁) Improve usability of `--install-types`
- TypeForm[T]: Spelling for regular types (int, str) & special forms (Union[int, str], Literal['foo'], etc)
- (🎁) Flag to make default return type `None` instead of `Any`
- Bad error message: mypy reports 'Name is not defined' when using an object member as super class of another class
- Implement support for returning TypedDict for dataclasses.asdict
- Rust style force handling of return value
- Use case for typing.Type with abstract types
- Warn about unused Awaitables (and potentially other objects)
- Test stub files against real code
- Docs
- Python not yet supported