未验证 提交 710efdae 编写于 作者: N Nyakku Shigure 提交者: GitHub

[CodeStyle] trailing whitespace hook for doc and cpp related files (#46067)

上级 b3283f4c
......@@ -26,7 +26,7 @@ repos:
- id: sort-simple-yaml
files: (api|backward|api_[a-z_]+)\.yaml$
- id: trailing-whitespace
files: (.*\.(py|bzl)|BUILD|.*\.BUILD|WORKSPACE)$
files: (.*\.(py|bzl|md|rst|c|cc|cxx|cpp|cu|h|hpp|hxx|xpu|kps|cmake)|BUILD|.*\.BUILD|WORKSPACE|CMakeLists.txt)$
- repo: local
hooks:
- id: clang-format
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册