Skip to content

Commit a12ea0c

Browse files
authored
Add args to clang-format-docs hook
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@ustc.edu.cn>
1 parent a4b12e3 commit a12ea0c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ repos:
6262
rev: v0.4.0
6363
hooks:
6464
- id: clang-format-docs
65+
args: ["--style=file:.clang-format"]
6566
additional_dependencies: [clang-format==21.1.8]
6667
# C++
6768
- repo: https://github.com/pre-commit/mirrors-clang-format

0 commit comments

Comments
 (0)