repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: check-ast - id: check-builtin-literals - id: check-docstring-first - id: check-merge-conflict - id: check-yaml - id: check-toml - id: debug-statements - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.15.1 hooks: - id: ruff-format - id: ruff args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"] # - repo: https://github.com/tox-dev/tox-ini-fmt # rev: "1.3.1" # hooks: # - id: tox-ini-fmt # args: ["-p", "fix_lint"] - repo: meta hooks: - id: check-hooks-apply - id: check-useless-excludes