uv-ty integration: how to enable PEP 723 script type checking

charliermarsh · x · 2026-10-21

Astral's charliermarsh details script support in the uv-ty integration: set "ty.experimental.useUv": "on" in the LSP or run TYUV=scripts ty check on the command line to type-check PEP 723 scripts. He also says they currently leverage uv's environment capabilities to power ty, and are interested in the reverse — using ty to power uv, e.g. detecting unused dependencies.

Related event: Astral ships experimental uv-ty integration for one-command type checking(4 posts)→

Original post →

More from coding & agent

coding & agent channel →