Skip to content

Commit c858a61

Browse files
committed
chore: simplify pre-commit config - remove ruff checks
- Remove all ruff and ruff-format hooks - Remove problematic trailing-whitespace and end-of-file-fixer hooks - Keep only essential checks: yaml, toml, large files, conflicts, debug statements - Code formatting can be done manually when needed
1 parent ec1a979 commit c858a61

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

.pre-commit-config.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
# Follow https://verdantfox.com/blog/how-to-use-git-pre-commit-hooks-the-hard-way-and-the-easy-way
22
repos:
3-
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: v0.11.0
5-
hooks:
6-
- id: ruff
7-
args: [--fix, --respect-gitignore, --config=pyproject.toml, --extend-exclude=genrl/reward/VideoAlign, --extend-exclude=genrl/reward/HPSv3]
8-
- id: ruff-format
9-
args: [--config=pyproject.toml]
10-
113
- repo: https://github.com/pre-commit/pre-commit-hooks
124
rev: v5.0.0
135
hooks:
14-
- id: trailing-whitespace
15-
- id: end-of-file-fixer
166
- id: check-yaml
177
- id: check-toml
188
- id: check-added-large-files

0 commit comments

Comments
 (0)