agent/.pre-commit-config.yaml
jingrow 9ca8014177
Some checks failed
Agent Tests / Lint and Format (push) Has been cancelled
Agent Tests / Unit Tests (push) Has been cancelled
更新jingrow仓库地址
2025-08-21 18:08:53 +08:00

28 lines
676 B
YAML

exclude: 'node_modules|.git'
default_stages: [commit]
fail_fast: false
repos:
- repo: http://git.jingrow.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: debug-statements
- id: trailing-whitespace
files: 'agent.*'
exclude: '.*json$|.*txt$|.*csv|.*md|.*svg'
- id: check-merge-conflict
- id: check-ast
- id: check-json
- id: check-toml
- id: check-yaml
- repo: http://git.jingrow.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.5
hooks:
# Run the linter.
- id: ruff
args: [--fix]
# Run the formatter.
- id: ruff-format