1repos: 2 - repo: https://github.com/pre-commit/pre-commit-hooks 3 rev: v3.3.0 4 hooks: 5 - id: trailing-whitespace 6 - id: end-of-file-fixer 7 - id: check-yaml 8 - id: check-added-large-files 9 - repo: https://github.com/psf/black 10 rev: 20.8b1 11 hooks: 12 - id: black 13 language_version: python3.6 14 exclude: ^docs/ 15 - repo: https://gitlab.com/pycqa/flake8 16 rev: 3.8.4 17 hooks: 18 - id: flake8 19 exclude: ^docs/|^examples/ 20