default_install_hook_types: - pre-commit - commit-msg default_stages: - pre-commit # Run locally - manual # Run in CI exclude: '(build|result)/.*|__pycache__/.*|.*\.(png|html)$' repos: - repo: https://github.com/google/yapf rev: v0.43.0 hooks: - id: yapf args: [--in-place, --verbose] - repo: https://github.com/crate-ci/typos rev: v1.34.0 hooks: - id: typos exclude: '.gitattributes' - repo: https://github.com/PyCQA/isort rev: 6.0.1 hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-clang-format rev: v20.1.3 hooks: - id: clang-format types_or: [c++, cuda] args: [--style=file, --verbose] - repo: https://github.com/jackdewinter/pymarkdown rev: v0.9.29 hooks: - id: pymarkdown args: [fix]