@charliermarsh: ty-pre-commit is out now! Pre-commit hooks for type checkers typically require you to either enumerate your dependencie…
Summary
ty-pre-commit is a new tool that simplifies pre-commit hooks for type checkers by automatically installing dependencies using uv.
View Cached Full Text
Cached at: 06/11/26, 11:43 PM
ty-pre-commit is out now!
Pre-commit hooks for type checkers typically require you to either enumerate your dependencies in the hook config, or install them out-of-band.
This one Just Works (TM) by leveraging uv to install any necessary dependencies prior to type-checking. https://t.co/IKbN5S77Fl
Similar Articles
@charliermarsh: Announcing uv audit: native support for vulnerability scanning across your project's dependencies
Charlie Marsh announces uv audit, a native vulnerability scanning feature for project dependencies in the uv package manager.
@charliermarsh: ty now supports all 22 cases of control flow analysis and type narrowing identified in this gigantic "Advanced pattern …
Charlie Marsh announces that the 'ty' tool now supports all 22 cases of control flow analysis and type narrowing for advanced pattern matching.
@charliermarsh: ty now ships with first-class support for Pydantic For example: we now distinguish between lax and strict mode in Pydan…
The Python tool 'ty' now includes first-class support for Pydantic, distinguishing between lax and strict modes and following Pydantic's coercion rules.
Vulnerability and malware checks in uv
uv announces new security features: a fast dependency auditing command (uv audit) and optional malware scanning on sync operations, both currently in preview.
@charliermarsh: In preview, `uv tool install` will now write a `uv.lock` lockfile for every tool, alongside the installation itself
In preview, uv tool install now writes a uv.lock lockfile for every tool during installation.