mirror of
https://github.com/NVIDIA/Model-Optimizer.git
synced 2026-10-02 03:14:52 +08:00
## Summary - Replace the VS Code Pylance recommendation with Astral's ty extension and mark Pylance as unwanted for this workspace. - Refresh the recommended extension list around the current project setup: Python, Ruff, TOML, YAML recipes/workflows, Markdown, notebooks, C++/CUDA kernels, Docker, and repo workflow helpers. - Add inline installation guidance for installing workspace recommendations from VS Code, the VS Code CLI, or Cursor. ## Why The main change is to use ty instead of Pylance for editor-side Python language support. Astral describes ty as an extremely fast Python type checker and language server, written in Rust, and it comes from the same toolchain family as uv and Ruff. That makes it a better fit for this repo's modern Python tooling direction than recommending Pylance by default. One nuance: this PR only changes editor extension recommendations. It does not replace the repository's configured MyPy/pre-commit checks. ## Validation - git diff --check -- .vscode/extensions.json - pre-commit ran during commit and passed for the staged file <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated workspace extension recommendations to include new development tools (Ruff, Markdown linting) and reorganized the extensions list. Added clarification comments for installation guidance to streamline the developer setup experience. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/NVIDIA/Model-Optimizer/pull/1546?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Shengliang Xu <shengliangx@nvidia.com>