Skip to content

Commit ba5ddb7

Browse files
committed
"rebase"
1 parent 1fc9fe7 commit ba5ddb7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ repos:
2626
entry: bash ./.clang_format.hook -i
2727
language: system
2828
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|proto)$
29+
- repo: local
30+
hooks:
31+
- id: cpplint-cpp-source
32+
name: cpplint
33+
description: Check C++ code style using cpplint.py.
34+
entry: bash ./tools/codestyle/cpplint_pre_commit.hook
35+
language: system
36+
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx)$
2937
- repo: https://github.com/PaddlePaddle/pre-commit-golang
3038
sha: 8337620115c25ff8333f1b1a493bd031049bd7c0
3139
hooks:

0 commit comments

Comments
 (0)