Skip to content

Commit

Permalink
[skip ci] use git-clang-format in CI (#15528)
Browse files Browse the repository at this point in the history
  • Loading branch information
tt-aho authored Nov 28, 2024
1 parent aac41a3 commit 592214d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ repos:
rev: v1.35.1
hooks:
- id: yamllint
#- repo: https://github.com/pre-commit/mirrors-clang-format
# rev: v19.1.4
# hooks:
# - id: clang-format
# types_or: [c++, c]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.4
hooks:
- id: clang-format
entry: git-clang-format
types_or: [c++, c]
args: ["--style=file"]

0 comments on commit 592214d

Please sign in to comment.