repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - id: detect-private-key - id: check-merge-conflict - id: check-case-conflict - id: check-docstring-first - id: check-builtin-literals - repo: https://github.com/asottile/setup-cfg-fmt rev: v1.16.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/asottile/add-trailing-comma rev: v2.0.2 hooks: - id: add-trailing-comma args: [--py36-plus] - repo: https://github.com/asottile/pyupgrade rev: v2.7.4 hooks: - id: pyupgrade args: - --py3-plus - repo: https://github.com/pre-commit/mirrors-isort rev: v5.7.0 hooks: - id: isort - repo: https://github.com/psf/black rev: 20.8b1 hooks: - id: black - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.4 hooks: - id: flake8 additional_dependencies: [flake8-bugbear]