en un clic
ruff-format
// Runs project-wise Python formatting with ruff after sourcing train.env for the correct Python path. Use when the user asks to format Python code with ruff, run ruff, or run project-wide formatting.
// Runs project-wise Python formatting with ruff after sourcing train.env for the correct Python path. Use when the user asks to format Python code with ruff, run ruff, or run project-wide formatting.
Run Python scripts or inspect installed packages using the HoloMotion training conda env. Use when running project Python scripts, executing training-related code, or inspecting packages in the holomotion_train environment. Always source train.env first, then use Train_CONDA_PREFIX.
Look up Isaac Lab source code by reading files under the installed isaaclab source tree. Use when Isaac Lab APIs, implementations, or source-level information are needed. Do not import isaaclab; use file reads and search on the source path instead.
| name | ruff-format |
| description | Runs project-wise Python formatting with ruff after sourcing train.env for the correct Python path. Use when the user asks to format Python code with ruff, run ruff, or run project-wide formatting. |
Apply this skill when the user wants to:
Train_CONDA_PREFIX so ruff and Python come from the holomotion_train conda env."$Train_CONDA_PREFIX/bin/ruff".Format (write changes), from repo root:
source train.env && "$Train_CONDA_PREFIX/bin/ruff" format --config pyproject.toml ./
Format check only (no write), from repo root:
source train.env && "$Train_CONDA_PREFIX/bin/ruff" format --check --config pyproject.toml ./
train.env before running ruff.$Train_CONDA_PREFIX/bin/ruff so the correct env is used.pyproject.toml; from repo root pass --config pyproject.toml and target ./.