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: 20.8b1 hooks: - id: black language_version: python3 # Should be a command that runs python3.6+ - repo: https://gitlab.com/pycqa/flake8 rev: 3.9.0 hooks: - id: flake8 args: ["--ignore=E203,W503,FI10,FI11,FI12,FI13,FI14,FI15,FI16,FI17,FI58,E501"]