2025-05-29 11:59:34 +02:00
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2025-10-07 15:01:53 +02:00
|
|
|
rev: v6.0.0
|
2025-05-29 11:59:34 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: trailing-whitespace
|
|
|
|
|
exclude: '^(third-party|licenses)/.*$'
|
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
|
exclude: '^(third-party|licenses)/.*$'
|
|
|
|
|
- id: check-merge-conflict
|
|
|
|
|
exclude: '^(third-party|licenses)/.*$'
|
|
|
|
|
- id: check-case-conflict
|
|
|
|
|
exclude: '^(third-party|licenses)/.*$'
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
2026-07-07 09:16:00 +02:00
|
|
|
rev: v22.1.5
|
2025-05-29 11:59:34 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: clang-format
|
|
|
|
|
'types_or': [c++, c]
|
|
|
|
|
exclude: '^third-party/.*$'
|
|
|
|
|
|
|
|
|
|
ci:
|
|
|
|
|
autofix_commit_msg: "[pre-commit.ci] Auto fixes from pre-commit.com hooks."
|
|
|
|
|
autofix_prs: true
|
|
|
|
|
autoupdate_commit_msg: "[pre-commit.ci] Pre-commit autoupdate."
|
|
|
|
|
autoupdate_schedule: quarterly
|
|
|
|
|
submodules: false
|