Migrating from mypy & pyright to Astral's ty in One Command
rust
dev.to
Python tooling has consolidated fast around Astral's stack: uv for packages, ruff for linting and formatting, and ty for Rust-speed static type checking. While migrate-to-uv handles moving away from Poetry/Pipenv, moving an existing codebase from mypy, pyright, or basedpyright to ty still had a tedious manual step: Translating mypy.ini, setup.cfg, pyrightconfig.json, or [tool.mypy] / [tool.pyright] into [tool.ty.*]. Converting per-module overrides ([mypy-tests.*], executionEnvironments) into