Загрузка...

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

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

Видео MyPy Is DEAD! Astral's TY Is The New Future Of Python Type Checking канала Better Stack
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять