Browse Source

skip smudged git lfs

pull/1041/head
haixuantao 6 months ago
parent
commit
2c796bd6aa
2 changed files with 9 additions and 13 deletions
  1. +2
    -0
      .github/workflows/node_hub_test.sh
  2. +7
    -13
      node-hub/dora-policy-inference/pyproject.toml

+ 2
- 0
.github/workflows/node_hub_test.sh View File

@@ -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..."


+ 7
- 13
node-hub/dora-policy-inference/pyproject.toml View File

@@ -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"
]
lerobot = { git = "https://github.com/huggingface/lerobot.git", rev = "main" }

Loading…
Cancel
Save