You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: lint-clean mjlab/maniskill tasks + make tooling paths portable
Pre-push cleanup of the unpushed mjlab/maniskill/robotwin work so it passes
the pre-commit gate and contains no machine-specific paths:
- ruff: add docstrings to mjlab task/MDP public API, replace diagnostic
print() with loguru log, fix ambiguous unicode, Optional->| None, lambda
->def, warnings.warn stacklevel, np.sqrt default-arg, unused imports.
Full pre-commit (ruff + ruff-format + hooks) now passes on all changed files.
- tooling: remove 53 hardcoded /home/ghr absolute paths from tools/**;
repo root via rootutils, reports dir via ROBOVERSE_REPORTS_DIR (rel fallback),
external mjlab via MJLAB_DIR (~/projects/mjlab fallback), conda via
$(conda info --base). No library code referenced local paths.
Smoke: all edited modules import; mjlab v2 backward-compat 12/12 mujoco +
12/12 newton. No runtime behavior changed.
0 commit comments