Ruff Author Finds Pretending to Be Mypy Speeds Up Pydantic Type Checking

Charlie Marsh, creator of Ruff and uv, found that setting the MYPY constant makes Pydantic build its heavy type definitions, speeding up type checkers pretending to be Mypy — at the cost of losing type precision.

2026-11-21 ~ 2026-11-21 · 2 related posts