ty 超快速 Python 类型检查器和语言服务器
ty is an extremely fast Python type checker and language server written in Rust by Astral, the creators of Ruff and uv. It delivers 10-100x faster type checking than mypy or Pyright with comprehensive diagnostics, incremental analysis, and first-class editor integrations.
Installation
Requirements and caveats from upstream:
-
- An extremely fast Python type checker and language server, written in Rust.
Basic usage or getting-started notes:
- Run ty with uvx to get started quickly:
- shell
- uvx ty check
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/astral-sh/ty/HEAD/README.md