Skip to content

Type Checking

The handbook recommends Pyrefly (Meta) as the default type checker for new Python projects. mypy remains the established option, ty is Astral’s fast beta alternative, and pyright rounds out the field. These pages explain how each checker works, when to choose which, and how to adopt typing without rewriting your codebase.

Pick a type checker

Adopt type checking

More Type Checking pages

Everything else tagged type-checking, grouped by section. Pages featured above are not repeated here.

From the blog

Posts tagged type-checking.

Last updated on