repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-toml - id: check-added-large-files - id: check-merge-conflict - repo: https://github.com/psf/black rev: 23.11.0 hooks: - id: black - repo: https://github.com/pycqa/isort rev: 5.12.0 hooks: - id: isort name: isort - repo: https://github.com/PyCQA/autoflake rev: v2.1.1 hooks: - id: autoflake - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks rev: v2.11.0 hooks: - id: pretty-format-yaml args: [--autofix, --indent, '2', --offset, '2']