# To install the git pre-commit hook run: # pre-commit install # To update the pre-commit hooks run: # pre-commit install-hooks exclude: '^(\.tox|\.bumpversion\.cfg)(/|$)' repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: debug-statements - repo: https://github.com/PyCQA/isort rev: 8.0.1 hooks: - id: isort - repo: https://github.com/psf/black-pre-commit-mirror rev: 26.3.1 hooks: - id: black - repo: https://github.com/PyCQA/flake8 rev: 7.3.0 hooks: - id: flake8