repos: - repo: https://github.com/psf/black rev: 23.1.0 hooks: - id: black args: [--line-length=120, --safe] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: - id: check-case-conflict - id: check-merge-conflict - id: check-symlinks - id: end-of-file-fixer - id: trailing-whitespace - id: debug-statements - id: requirements-txt-fixer - repo: https://github.com/pycqa/isort rev: 5.12.0 hooks: - id: isort name: isort (python) args: ['--force-single-line-imports', '--profile', 'black'] - repo: https://github.com/pycqa/flake8 rev: 6.0.0 hooks: - id: flake8 args: [ '--max-line-length', '120', '--max-doc-length', '120' ] - repo: https://github.com/asottile/blacken-docs rev: 1.13.0 hooks: - id: blacken-docs additional_dependencies: [ black ]