Skip to content

Commit 08b2707

Browse files
Add clang-format pre-commit step
1 parent 8794a84 commit 08b2707

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ repos:
1414
rev: v0.13.1
1515
hooks:
1616
- id: ruff-format
17+
- repo: https://github.com/pre-commit/mirrors-clang-format
18+
rev: v20.1.0
19+
hooks:
20+
- id: clang-format
21+
files: \.(c|cc|cpp|cxx|h|hpp|ih|i)$

0 commit comments

Comments
 (0)