--- repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 hooks: - id: check-merge-conflict - id: check-symlinks - id: debug-statements - id: end-of-file-fixer - id: no-commit-to-branch args: [--branch, main] - id: trailing-whitespace - repo: https://github.com/asottile/add-trailing-comma rev: v2.2.3 hooks: - id: add-trailing-comma - repo: https://github.com/psf/black rev: 22.6.0 hooks: - id: black args: [-l, "100"] - repo: https://github.com/PyCQA/isort rev: 5.10.1 hooks: - id: isort name: Sort import statements using isort - repo: https://github.com/ansible-network/collection_prep rev: 1.0.0 hooks: - id: update-docs