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
- Optional types not fully narrowed with multiple conditionals
- stubtest nit: arguments vs. parameters
- Mypy shoould not suggest Foo[...] if annotation contains Foo(arg=...) etc.
- [Regression 1.6.x -> 1.7] Invalid "Returning Any from function declared..."
- Wrong self type only reported upon call if using VarArgs
- JSONSchema (SchemaStore, validate-pyproject)
- Overridden `__iter__` with more specific item type is only respected in some contexts
- Type-narrowing from parent to child class produces `Never` if inheriting from a concrete version of a generic parent class.
- attribute is incorrectly `Any` when `ParamSpec` decorated function is referenced in itself followed by an if statement with a class that has a method in it
- Refurb crashes on Mypy 1.7.0
- Docs
- Python not yet supported