diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9385943da92bc8c44ca75b267a768ba8ea22bd8b..c1ae1058c2f17a121e3ab974f8fe38937e284205 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,3 +22,7 @@ # not all of our python code is runnable. Some are used for # documenation # - id: debug-statements +- repo: https://github.com/PaddlePaddle/clang-format-pre-commit-hook.git + sha: 38b232ea0fd2be46c26a691b9f32dd94d1ee3333 + hooks: + - id: clang-formater