New posts in mypy

Why can I not use `function` in type hints, as I can use `int`, `str` and `list`? [duplicate]

Having trouble getting mypy to recognize that variable implements a protocol

How to create a user-defined type assertion in Python?

How to use reveal_type in mypy

How do I get mypy to recognize that an argument of a function needs to be a subclass of a particular base class?

Why does `mypy --strict` not throw an error in this simple code?

Pandas DataFrame mypy error: slice index must be an integer or None

Specifying a type to be a List of numbers (ints and/or floats)?

Fighting python type annotations

Python equivalent of Typescript interface

Specify length of Sequence or List with Python typing module

MyPy annotation for classmethod returning instance

Proper type annotation of Python functions with yield

How to annotate function that takes a tuple of variable length? (variadic tuple type annotation)

What is the difference between TypeVar and NewType?

Type assertion in MyPy

Python type hints and context managers

mypy, type hint: Union[float, int] -> is there a Number type?

How to use type hints in python 3.6?

How can mypy ignore a single line in a source file?