repos:
  - repo: https://github.com/psf/black
    rev: 25.1.0  # Use the latest stable version
    hooks:
      - id: black

  - repo: https://github.com/PyCQA/isort
    rev: 6.0.1
    hooks:
      - id: isort

  - repo: https://github.com/PyCQA/docformatter
    rev: v1.7.7
    hooks:
    - id: docformatter
      args: ["--in-place", "--recursive", "--wrap-summaries=88", "--wrap-descriptions=88", "cognac"]

  - repo: https://github.com/pycqa/flake8
    rev: 7.2.0
    hooks:
      - id: flake8
