repos: # Common hooks - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: check-added-large-files - id: check-merge-conflict - id: check-symlinks - id: detect-private-key - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.11.11 hooks: - id: ruff-check args: [--fix, --exit-non-zero-on-fix, --no-cache] - id: ruff-format args: [--exit-non-zero-on-fix, --no-cache]