repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.3.0 hooks: - id: check-yaml exclude: 'docs/.*|tests/data/.*' - id: end-of-file-fixer exclude: 'docs/.*|tests/data/.*' - id: trailing-whitespace exclude: 'docs/.*|tests/data/.*' - id: end-of-file-fixer exclude: 'docs/.*|tests/data/.*' - repo: https://github.com/psf/black rev: 22.10.0 hooks: - id: black exclude: ^docs/ args: ['--line-length', '140']