repos:
- repo: https://github.com/psf/black
  rev: 24.2.0
  hooks:
  - id: black
    exclude: tests

- repo: https://github.com/astral-sh/ruff-pre-commit
  # Ruff version.
  rev: v0.2.1
  hooks:
  - id: ruff
    args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/pre-commit/mirrors-mypy
  rev: v1.8.0
  hooks:
  -   id: mypy
      exclude: ^(tests)

