repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/psf/black rev: 25.1.0 hooks: - id: black exclude: ^docs/ - repo: https://github.com/pycqa/flake8 rev: '7.1.1' hooks: - id: flake8 exclude: tests/|^docs/|__init__.py