Categories
mypy python python-3.x python-typing type-hinting

Python 3.6 type hinting for a function accepting generic class type and instance type of the same generic type

Categories
mypy python python-3.x

How to type Python mixin with superclass calls?

Categories
mypy numpy python python-3.x type-hinting

Python – typing – union of subscriptable type

Categories
duck-typing mypy python python-3.x typechecking

Comparable types with mypy

Categories
mypy python python-3.x

Can I suppress mypy errors in-line?

Categories
mypy python python-3.x type-hinting zeep

How can I type-hint a nested object in Python?

Categories
mypy python python-3.x python-typing

How to make type-annotation-only type assertions?

Categories
functional-programming mypy python python-3.x

Why doesn’t this higher-order function pass static type checking in mypy?

Categories
mypy python python-3.x

mypy: “__eq__” incompatible with supertype “object”

Categories
mypy python python-3.x static-typing

How to use static type checking using Dict with different value types in Python 3.6?