default_language_version:
    python: python3

repos:
  - repo: https://github.com/psf/black
    rev: 26.1.0
    hooks:
      - id: black
  - repo: https://github.com/commitizen-tools/commitizen
    rev: v4.12.1
    hooks:
      - id: commitizen
        stages: [commit-msg]
  - repo: https://github.com/pycqa/flake8
    rev: 7.3.0
    hooks:
      - id: flake8
  - repo: https://github.com/pycqa/isort
    rev: 7.0.0
    hooks:
      - id: isort
  - repo: https://github.com/pycqa/pylint
    rev: v4.0.4
    hooks:
      - id: pylint
        additional_dependencies:
          - argcomplete==2.0.0
          - gql==4.0.0
          - httpx==0.27.2
          - pytest==7.4.2
          - requests==2.28.1
          - requests-toolbelt==1.0.0
        files: 'gitlab/'
  - repo: https://github.com/pre-commit/mirrors-mypy
    rev: v1.19.1
    hooks:
      - id: mypy
        args: []
        additional_dependencies:
          - gql==4.0.0
          - httpx==0.27.2
          - jinja2==3.1.2
          - pytest==7.4.2
          - responses==0.23.3
          - types-PyYAML==6.0.12
          - types-requests==2.28.11.2
  - repo: https://github.com/pre-commit/pygrep-hooks
    rev: v1.10.0
    hooks:
      - id: rst-backticks
      - id: rst-directive-colons
      - id: rst-inline-touching-normal
  - repo: https://github.com/maxbrunet/pre-commit-renovate
    rev: 42.84.0
    hooks:
      - id: renovate-config-validator
