|
|
|
|
@ -26,6 +26,14 @@ repos:
|
|
|
|
|
entry: bash ./.clang_format.hook -i
|
|
|
|
|
language: system
|
|
|
|
|
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|proto)$
|
|
|
|
|
- repo: local
|
|
|
|
|
hooks:
|
|
|
|
|
- id: cpplint-cpp-source
|
|
|
|
|
name: cpplint
|
|
|
|
|
description: Check C++ code style using cpplint.py.
|
|
|
|
|
entry: bash ./tools/codestyle/cpplint_pre_commit.hook
|
|
|
|
|
language: system
|
|
|
|
|
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx)$
|
|
|
|
|
- repo: https://github.com/PaddlePaddle/pre-commit-golang
|
|
|
|
|
sha: 8337620115c25ff8333f1b1a493bd031049bd7c0
|
|
|
|
|
hooks:
|
|
|
|
|
|