@charliermarsh: ty now ships with first-class support for Pydantic For example: we now distinguish between lax and strict mode in Pydan…
Summary
The Python tool 'ty' now includes first-class support for Pydantic, distinguishing between lax and strict modes and following Pydantic's coercion rules.
View Cached Full Text
Cached at: 07/22/26, 08:27 AM
ty now ships with first-class support for Pydantic
For example: we now distinguish between lax and strict mode in Pydantic fields, and follow Pydantic’s coercion rules https://t.co/zLGXFlSVF1
Similar Articles
@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: We've shipped an experimental uv-ty integration. `uv check` will install ty, sync your dependencies, and type check you…
Astral 发布实验性的 uv 与 ty 集成,新增 `uv check` 统一命令,可自动安装 ty、同步依赖并对项目进行类型检查,同时为 PEP 723 内联元数据声明的 Python 脚本提供一等公民支持。
@charliermarsh: On this 126 byte snippet: - ty 0.0.65 stack-overflows - mypy 2.3.0 segfaults - Pyright 1.1.411 times out - Pyrefly 1.1.…
A 126-byte snippet causes multiple Python type checkers (ty, mypy, Pyright, Pyrefly, Pycroscope) to crash, hang, or panic, highlighting interesting edge cases in these tools.
@charliermarsh: ty-pre-commit is out now! Pre-commit hooks for type checkers typically require you to either enumerate your dependencie…
ty-pre-commit is a new tool that simplifies pre-commit hooks for type checkers by automatically installing dependencies using uv.
@charliermarsh: In the next ty release, we have full support for recursive implicit type aliases (at arbitrary depths). For the type th…
In the next release of ty, full support for recursive implicit type aliases is implemented using mu types.