We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fc9fe7 commit ba5ddb7Copy full SHA for ba5ddb7
.pre-commit-config.yaml
@@ -26,6 +26,14 @@ repos:
26
entry: bash ./.clang_format.hook -i
27
language: system
28
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)$
37
- repo: https://github.com/PaddlePaddle/pre-commit-golang
38
sha: 8337620115c25ff8333f1b1a493bd031049bd7c0
39
hooks:
0 commit comments