repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.8
hooks:
- id: ruff
args: [--fix]
types_or: [python]
- id: ruff-format
types_or: [python]
- repo: local
hooks:
- id: lerobot-filter-fixtures
name: lerobot patch dispatch fixtures
entry: bash scripts/setup/tests/test_lerobot_filter.sh
language: system
pass_filenames: false
files: |
(?x)^(
third_party/patches/lerobot/INDEX\.yaml |
third_party/patches/lerobot/[^/]+/(manifest\.yaml|series\.txt) |
scripts/setup/lerobot_filter_series\.py |
scripts/setup/lerobot_resolve_active\.py |
scripts/setup/tests/test_lerobot_filter\.sh
)$