@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: 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.
Pyrefly v1.0 is here
Pyrefly, an open-source Python type checker and language server, reaches v1.0, marking production readiness with significant performance improvements and adoption by major codebases like PyTorch and NumPy.
PyCon US 2026 Typing Summit Recap
This article recaps the PyCon US 2026 Typing Summit, detailing key talks on Python typing advancements including PEP proposals, AI-assisted type checking experiments, and a Typing Council Q&A session.