refactor(utils): use relative import for sibling constants in hub.py

`from lerobot.utils.constants import CHECKPOINTS_DIR` was the odd one out in
utils/ — sibling modules there are imported relatively (.constants, .errors,
.utils, ...). Match that convention.
This commit is contained in:
Nicolas Rabault
2026-06-29 09:12:29 +02:00
parent a89bea28e1
commit 27e4ad5a3f
+1 -1
View File
@@ -20,7 +20,7 @@ from typing import Any, TypeVar
from huggingface_hub import HfApi
from huggingface_hub.utils import validate_hf_hub_args
from lerobot.utils.constants import CHECKPOINTS_DIR
from .constants import CHECKPOINTS_DIR
T = TypeVar("T", bound="HubMixin")