repos: - repo: https://github.com/psf/black rev: 22.3.0 hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks rev: v1.2.3 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: debug-statements language_version: python3 - id: check-yaml args: - --allow-multiple-documents - id: check-merge-conflict - id: name-tests-test exclude: tests/(common.py|util.py|(helpers|integration/factories)/(.+).py) - repo: https://github.com/asottile/reorder_python_imports rev: v1.0.1 hooks: - id: reorder-python-imports args: - --py3-plus