Ty is a new Rust-based Python type checker from Astral (makers of Ruff) that offers similar functionality to mypy in strict mode. The guide covers installing ty via uv, uvx, or standalone installers, running it locally with various commands, and configuring it through pyproject.toml or ty.toml. It includes setup instructions

3m read timeFrom blog.pythonlibrary.org
Post cover image
Table of contents
InstallationRunning ty LocallyRunning ty in GitHub ActionsUsing ty with pre-commitWrapping Up

Sort: