repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 # Get the latest from: https://github.com/pre-commit/pre-commit-hooks/releases hooks: - id: trailing-whitespace - id: end-of-file-fixer - repo: https://github.com/psf/black rev: 22.6.0 hooks: - id: black language_version: python3.8 - repo: https://github.com/pycqa/flake8 rev: '5.0.4' hooks: - id: flake8 args: ['--max-line-length', '130', '--ignore', 'E501s, W503']