| 123456789101112131415161718192021222324252627 | repos:
    - repo: https://github.com/pre-commit/pre-commit-hooks
      rev: v2.3.0
      hooks:
          - id: check-yaml
          - id: check-xml
          - id: check-ast
          - id: check-json
          - id: check-toml
          - id: debug-statements
          - id: end-of-file-fixer
          - id: trailing-whitespace
          - id: check-merge-conflict
          - id: detect-private-key
          - id: no-commit-to-branch
            args: [--branch, main]
    - repo: https://github.com/psf/black
      rev: 19.10b0
      hooks:
          - id: black
            # https://github.com/psf/black/issues/2964#issuecomment-1080974737
            additional_dependencies: ['click==8.0.4']
    - repo: https://github.com/pycqa/isort
      rev: 5.11.5
      hooks:
          - id: isort
            args: ["--profile", "black"]
 |