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 supported92 Subscribers
View all SubscribersAdd a CodeTriage badge to mypy
Help out
- Issues
- Need a way to specify types for mock objects (e.g. mock.Mock())
- Using a partial type assumes partial knowledge
- Cannot infer type of generic subclass within a function call
- type: ignore required when storing attribute to a function
- Errors are not sorted by file
- Can't pass a value of type Union[str, bytes] to a generic function typed with AnyStr
- Errors related to imports different in fine-grained incremental mode
- Document properties of internal type operations
- mypy infers the wrong type for classmethods
- "<function> defined here" notes omitted when function is loaded from cache
- Docs
- Python not yet supported