fail_fast: true
repos:
  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.15.14
    hooks:
      - id: ruff-format
      - id: ruff
        args: [--fix]
  - repo: https://github.com/codespell-project/codespell
    rev: v2.4.1
    hooks:
      - id: codespell
  - repo: local
    hooks:
      - id: mypy
        name: mypy
        entry: mypy src/orca
        language: python
        pass_filenames: false
        types: [python]
        args: [--no-incremental]
        additional_dependencies:
          - mypy
          - pytest
          - pytest-mock
