# See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks exclude: > (?x)^( .*_pb2.py| .*_pb2_grpc.py )$ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - id: check-merge-conflict - repo: https://github.com/psf/black rev: 20.8b1 hooks: - id: black - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.3 hooks: - id: flake8 - repo: https://github.com/timothycrosley/isort rev: 4.3.21 hooks: - id: isort args: ["-l", "88", "-m", "3", "-tc"]