Menu

ty 1.0: a fast Python type checker and language server
📰

ty 1.0: a fast Python type checker and language server

Adafruit Industries – Makers, hackers, artists, designers and engineers!·Anne Barela·4 days ago
#Hxt8t2dW
#adafruit#astral#type#checker#charlie
Reading 0:00
15s threshold

Charlie Marsh has announced ty 1.0 on the Astral blog. It’s a Python type checker written in Rust, and it’s an alternative to mypy and Pyright. It installs with uv or through a VS Code extension. Astral is also the team behind the uv package manager and the Ruff linter.

ty is now the default type checker at OpenAI, and the switch there brought a median 24x speedup. The 1.0 release adds support for Pydantic, Django and pytest. Diagnostics can connect a warning in another file, and simple fixes can be applied automatically.

See more at astral.sh and content on GitHub. Via Hacker News.