From 2c796bd6aa2b3154fa873701eb61caad6f3274b2 Mon Sep 17 00:00:00 2001 From: haixuantao Date: Mon, 7 Jul 2025 15:52:33 +0200 Subject: [PATCH] skip smudged git lfs --- .github/workflows/node_hub_test.sh | 2 ++ node-hub/dora-policy-inference/pyproject.toml | 20 +++++++------------ 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/node_hub_test.sh b/.github/workflows/node_hub_test.sh index 39ae2b7f..b1799648 100755 --- a/.github/workflows/node_hub_test.sh +++ b/.github/workflows/node_hub_test.sh @@ -13,6 +13,8 @@ dir=$(pwd) # Get the base name of the directory (without the path) base_dir=$(basename "$dir") +export GIT_LFS_SKIP_SMUDGE=1 + # Check if the directory name is in the ignored list if [[ " ${ignored_folders[@]} " =~ " ${base_dir} " ]]; then echo "Skipping $base_dir as we cannot test it on the CI..." diff --git a/node-hub/dora-policy-inference/pyproject.toml b/node-hub/dora-policy-inference/pyproject.toml index 12b1a5c5..242d6e07 100644 --- a/node-hub/dora-policy-inference/pyproject.toml +++ b/node-hub/dora-policy-inference/pyproject.toml @@ -7,7 +7,7 @@ license = { text = "MIT" } readme = "README.md" requires-python = ">=3.8" -dependencies = ["dora-rs >= 0.3.9","pyarrow","lerobot"] +dependencies = ["dora-rs >= 0.3.9", "pyarrow", "lerobot"] [dependency-groups] dev = ["pytest >=8.1.1", "ruff >=0.9.1"] @@ -17,20 +17,14 @@ dora-policy-inference = "dora_policy_inference.main:main" [tool.ruff.lint] extend-select = [ - "D", # pydocstyle - "UP" + "D", # pydocstyle + "UP", ] ignore = [ - "D100", # Missing docstring in public module - "D103", # Missing docstring in public function - "D104", # Missing docstring in public package + "D100", # Missing docstring in public module + "D103", # Missing docstring in public function + "D104", # Missing docstring in public package ] [tool.uv.sources] -lerobot = {git = "https://github.com/huggingface/lerobot.git", rev = "main"} - -[tool.uv.pip] -git-config = [ - "filter.lfs.smudge=git-lfs smudge --skip -- %f", - "filter.lfs.process=git-lfs filter-process --skip" -] \ No newline at end of file +lerobot = { git = "https://github.com/huggingface/lerobot.git", rev = "main" }