repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: - id: check-yaml - id: check-toml - id: end-of-file-fixer exclude: ".*.json" - id: trailing-whitespace - repo: https://github.com/psf/black rev: 24.2.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 rev: 7.0.0 hooks: - id: flake8 exclude: ^(.tox|env|build|dist|help|qt/dg_rc.py|pkg).* - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook rev: v9.11.0 hooks: - id: commitlint stages: [commit-msg] additional_dependencies: ["@commitlint/config-conventional"]