未验证 提交 49f6c245 编写于 作者: S Sing_chan 提交者: GitHub

add trailing whitespace hook (#44474)

上级 de8c0ba5
...@@ -25,6 +25,8 @@ repos: ...@@ -25,6 +25,8 @@ repos:
- id: end-of-file-fixer - id: end-of-file-fixer
- id: sort-simple-yaml - id: sort-simple-yaml
files: (api|backward|api_[a-z_]+)\.yaml$ files: (api|backward|api_[a-z_]+)\.yaml$
- id: trailing-whitespace
files: (.*\.(py|bzl)|BUILD|.*\.BUILD|WORKSPACE)$
- repo: local - repo: local
hooks: hooks:
- id: clang-format - id: clang-format
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册