repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: "v4.4.0" hooks: - id: check-case-conflict - id: check-merge-conflict - id: check-toml exclude: ".*/templates/.*" - id: check-yaml exclude: ".*/templates/.*|libs/arcade-mcp-server/mkdocs.yml" - id: end-of-file-fixer exclude: ".*/templates/.*" - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.6.7 hooks: - id: ruff args: [--fix] exclude: "(.*/templates/.*|libs/tests/.*)" - id: ruff-format exclude: "(.*/templates/.*|libs/tests/.*)" - repo: local hooks: - id: check-debug-leak-flags name: "Guard: unsafe debug-leak flags must stay off" description: >- Fails if the activation acknowledgement string for the unsafe debug-leak flags in arcade_core/output.py appears in any tracked file outside its small allowlist. entry: python scripts/check_debug_leak_flags_off.py language: python pass_filenames: false always_run: true