mypy

Mypy type checking utilities.

Module Contents

Functions

assert_never(→ NoReturn)

Assert that a code path is unreachable for type checking.

mypy.assert_never(value: NoReturn) NoReturn

Assert that a code path is unreachable for type checking.

Parameters:

value – value that should never be reached