Astral ships ty 1.0 Python type checker
Astral declares its Rust-based Python type checker and language server production-ready, adding built-in Pydantic, Django, and pytest support alongside auto-fixing diagnostics and CI baselines. Already OpenAI's default checker across millions of lines of Python, ty delivers a median 24x speedup and 73% peak memory reduction.
Completing Astral's Rust-powered Python trifecta alongside uv and Ruff, ty 1.0 turns static type checking into an instant feedback loop for modern Python and AI codebases. Arriving weeks after OpenAI closed its Astral acquisition, the release also sharpens a high-stakes tooling split against Meta and Google's Pyrefly.
- –Outpaces Rust rivals on speed and accuracy: ty tops 16 of 18 projects on CLI checks (1.46x faster than Pyrefly, 3.56x faster than Zuban) and 14 of 17 in incremental editor updates (7.73x faster than Pyrefly), while cutting typing conformance false positives from 224 in beta down to 14 versus mypy's 190.
- –Built for AI coding verification loops: Sub-second incremental diagnostics, `ty check --fix` auto-repairs, and cross-file error tracing give LLM coding agents — including OpenAI's Codex division, where Astral's team now sits — a fast, low-memory guardrail instead of bottlenecking on mypy.
- –Low-friction migration for legacy repos: Teams can snapshot existing errors into a committed file with `ty check --update-baseline` so CI blocks only new regressions, bulk-suppress via `--add-ignore`, and type-check PEP 723 standalone scripts using preview `uv` environment resolution.
- –Deeper type theory unlocks future tooling: Grounded in gradual and set-theoretic typing with bidirectional inference and intersection types, ty lays the engine foundation for type-aware linting, dead-code elimination, unused dependency analysis, and type-aware test selection.
- –Fast ecosystem uptake ahead of GA: Already adopted by FastAPI and tox, ty ranks third behind mypy and Pyright at 11.6% of typed top-25k PyPI packages — and 22.6% among repositories created in the past year.
DISCOVERED
1h ago
2026-12-01
PUBLISHED
4h ago
2026-12-01
RELEVANCE
AUTHOR
burntsushi