summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: 3103a1f1c3ba2a96fd8c4549c3e7d26d6f16fedb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v5.0.0
    hooks:
      - id: trailing-whitespace
      - id: end-of-file-fixer
      - id: check-merge-conflict
      - id: check-case-conflict
  - repo: https://github.com/pre-commit/mirrors-clang-format
    rev: v19.1.5
    hooks:
    - id: clang-format
      'types_or': [c++, c]

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