--- default_stages: - pre-commit repos: - repo: https://github.com/pre-commit/mirrors-clang-format rev: v19.1.7 hooks: - id: clang-format args: [--style=file] exclude: ^(subprojects|tools)/ types_or: [c, c++] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: check-executables-have-shebangs - id: check-case-conflict - id: check-illegal-windows-names - id: check-shebang-scripts-are-executable - id: check-yaml