repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: "v3.1.0"
    hooks:
      - id: check-builtin-literals
      - id: check-byte-order-marker
      - id: check-case-conflict
      - id: check-json
      - id: check-merge-conflict
      - id: check-symlinks
      - id: check-xml
      - id: check-yaml
      - id: detect-private-key
      - id: mixed-line-ending
      - id: no-commit-to-branch
      - id: requirements-txt-fixer
      - id: trailing-whitespace
  - repo: https://gitlab.com/pycqa/flake8
    rev: "3.8.3"
    hooks:
      - id: flake8
        args: ["--ignore=D100,D104,E501", ]
        additional_dependencies: [flake8-docstrings]
