repos:
  - repo: https://github.com/psf/black
    rev: 26.1.0
    hooks:
      - id: black
        language_version: python3
        args: [--line-length=120]

  - repo: https://github.com/PyCQA/isort
    rev: 6.0.1
    hooks:
      - id: isort
        args: [--profile=black, --line-length=120]

  - repo: https://github.com/pre-commit/mirrors-mypy
    rev: v1.19.1
    hooks:
      - id: mypy
        args: [--ignore-missing-imports]
        files: ^(dispatch\.py|prompts/team_prompts\.py|utils/logger\.py|utils/error_tracker\.py|utils/error_alert\.py|memory/task-timer\.py)$
        additional_dependencies: []

  - repo: local
    hooks:
      - id: modularity-lint
        name: Modularity Lint (hardcode detection)
        entry: hooks/modularity-lint.sh
        language: script
        types: [python]
        pass_filenames: false
