repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - repo: https://github.com/psf/black rev: 19.3b0 hooks: - id: black - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.1 hooks: - id: flake8 additional_dependencies: [flake8-bugbear]