diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dfe1e3848ee5a548ac0f9dfa86fa4d7c5b13126a..4c2ee70f8aff197734c5432967677dbd41b82e8f 100755 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: description: Format files with ClangFormat. entry: bash ./tools/codestyle/clang_format.hook -i language: system - files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|proto|xpu|kps)$ + files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|xpu|kps)$ exclude: | (?x)^( paddle/fluid/distributed/ps/thirdparty/round_robin.h