repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.3.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-yapf rev: "" # Use the sha / tag you want to point at hooks: - id: yapf - repo: https://github.com/asottile/seed-isort-config rev: v2.2.0 hooks: - id: seed-isort-config - repo: https://github.com/timothycrosley/isort rev: 4.3.21 # pick the isort version you'd like to use from https://github.com/timothycrosley/isort/releases hooks: - id: isort - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.3 hooks: - id: flake8