repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
  # Ruff version.
  rev: v0.7.2
  hooks:
    # Run the linter.
    - id: ruff
      args: [--fix, --exit-non-zero-on-fix, --show-fixes]
    # Run the formatter.
    - id: ruff-format

- repo: https://github.com/astral-sh/uv-pre-commit
  # uv version.
  rev: 0.4.30
  hooks:
    # Update the uv lockfile
    - id: uv-lock

- repo: https://github.com/bbelderbos/code_quality
  rev: main
  hooks:
    - id: pybites-quality
      args: ["--fail-mi-below", "60", "--fail-typing-below", "80"]
