repos:
  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.12.8
    hooks:
      - id: ruff-check

  - repo: https://github.com/Yelp/detect-secrets
    rev: v1.5.0
    hooks:
      - id: detect-secrets
        args: [--baseline, .secrets.baseline]
        exclude: >
          (?x)^(
            \.cruft\.json|
            specification/.*\.yml
          )$

  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v5.0.0
    hooks:
      - id: check-added-large-files
        args: ["--maxkb=500"]

  # - repo: local
  #   hooks:
  #     - id: run-tests-before-commit
  #       name: Run tests before commit
  #       entry: uv run pytest -m "not llm"
  #       language: system
  #       pass_filenames: false
  #       types: [python]
