未验证 提交 7b3295a4 编写于 作者: C chentianyu03 提交者: GitHub

add exclude rules of pre-commit for paddle/utils and third_party (#34880)

* add exclude rules of pre-commit to paddle/utils and third_party

* remove exclude direction distributed/third_party

* remove exclude of paddle/utils for format cpplint check
上级 01a3a2e0
......@@ -49,4 +49,7 @@ repos:
entry: python ./tools/codestyle/copyright.hook
language: system
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|proto|py|sh)$
exclude: (?!.*third_party)^.*$ | (?!.*book)^.*$
exclude: |
(?x)^(
paddle/utils/.*
)$
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册