repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.2.3 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-added-large-files - repo: https://github.com/pre-commit/mirrors-autopep8 rev: v1.4.4 # Use the sha / tag you want to point at hooks: - id: autopep8 exclude: ^scripts/ args: ['-i', '--max-line-length=140'] - repo: https://github.com/pre-commit/mirrors-pylint rev: v2.3.1 hooks: - id: pylint exclude: ^scripts/ args: ['--disable=bad-continuation'] # coz incompatible with black