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