Back to Browse

MyPy Is DEAD! Astral's TY Is The New Future Of Python Type Checking

10.1K views
May 14, 2025
3:01

Switching from MyPy to TY for Python type checking will dramatically improve your development workflow. This video demonstrates TY's impressive speed (20x faster than MyPy on large codebases), clearer error messages, and superior module discovery. Learn how to configure TY through pyproject.toml, suppress specific errors, and integrate it with VS Code. See why this Rust-based type checker from Astral (creators of Ruff and UV) is gaining popularity among developers who heavily use type hints in Python. 🔗 Relevant Links UV Video - https://www.youtube.com/watch?v=_OxoyLGmYbA TY Docs - https://github.com/astral-sh/ty/blob/main/docs/README.md#installation TY Vscode Plugin - https://marketplace.visualstudio.com/items?itemName=astral-sh.ty ❤️ More about us Radically better observability stack: https://betterstack.com/ Written tutorials: https://betterstack.com/community/ Example projects: https://github.com/BetterStackHQ 📱 Socials Twitter: https://twitter.com/betterstackhq Instagram: https://www.instagram.com/betterstackhq/ TikTok: https://www.tiktok.com/@betterstack LinkedIn: https://www.linkedin.com/company/betterstack 📌 Chapters: 0:00 - Introduction to TY 0:53 - Speed Comparison 1:22 - Module Discovery 1:42 - Type Suppression 2:36 - VS Code Integration 2:44 - Future of Python Tooling

Download

0 formats

No download links available.

MyPy Is DEAD! Astral's TY Is The New Future Of Python Type Checking | NatokHD