#mypy
3 pages tagged mypy.
3/3
typing-extensions
Package-level reference for typing-extensions on PyPI — what's backported, install, version policy, and migration to stdlib.
typing
Go beyond list[int] and str | None. Covers Protocol, TypeVar bounds, ParamSpec, Concatenate, Self, Annotated, TypedDict with NotRequired/Required, TypeAlias, TypeGuard, TypeIs, cast, assert_type, and reveal_type.
mypy
Catch type errors before runtime with mypy. Covers strict mode, common error codes, type: ignore annotations, gradual typing, and pyproject.toml configuration.