repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v6.0.0
    hooks:
      - id: end-of-file-fixer
      - id: trailing-whitespace

  - repo: https://github.com/pycqa/isort
    rev: "7.0.0"
    hooks:
        - id: isort
          args: ["--profile", "black"]

  - repo: https://github.com/psf/black
    rev: 25.12.0
    hooks:
      - id: black
        args: [--target-version=py310]

  - repo: https://github.com/pycqa/flake8
    rev: '7.3.0'
    hooks:
      - id: flake8
        additional_dependencies:
          - flake8-bugbear
          - flake8-comprehensions
          - flake8-tidy-imports
          - flake8-print
        args: [--max-line-length=120]
