Skip to content

Commit 52926d2

Browse files
committed
fix: update pre-commit config to exclude submodules explicitly
- Add --extend-exclude args for VideoAlign and HPSv3 submodules - Update pre-commit-hooks to v5.0.0 to fix deprecated stage names - Ensure ruff only checks main project files
1 parent 70b2705 commit 52926d2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ repos:
44
rev: v0.11.0
55
hooks:
66
- id: ruff
7-
args: [--fix, --respect-gitignore, --config=pyproject.toml]
7+
args: [--fix, --respect-gitignore, --config=pyproject.toml, --extend-exclude=genrl/reward/VideoAlign, --extend-exclude=genrl/reward/HPSv3]
88
- id: ruff-format
9-
args: [--config=pyproject.toml]
9+
args: [--config=pyproject.toml, --extend-exclude=genrl/reward/VideoAlign, --extend-exclude=genrl/reward/HPSv3]
1010

1111
- repo: https://github.com/pre-commit/pre-commit-hooks
12-
rev: v4.5.0
12+
rev: v5.0.0
1313
hooks:
1414
- id: trailing-whitespace
1515
- id: end-of-file-fixer

0 commit comments

Comments
 (0)