未验证 提交 cc52501e 编写于 作者: A Aurelius84 提交者: GitHub

[Eager]Add sort-simple-yaml for automatically sort api|backward.yaml (#41038)

* [Eager]Add sort-simple-yaml for automatically sort api|backward.yaml

* remove it test=document_fix

* refine

* add more yaml

* remove optional

* fix infRT CI
上级 23c3d967
......@@ -10,7 +10,7 @@ repos:
- id: yapf
files: (.*\.(py|bzl)|BUILD|.*\.BUILD|WORKSPACE)$
- repo: https://github.com/pre-commit/pre-commit-hooks
sha: 5bf6c09bfa1297d3692cadd621ef95f1284e33c0
rev: v4.1.0
hooks:
- id: check-added-large-files
- id: check-merge-conflict
......@@ -18,6 +18,8 @@ repos:
- id: detect-private-key
files: (?!.*third_party)^.*$ | (?!.*book)^.*$
- id: end-of-file-fixer
- id: sort-simple-yaml
files: (api|backward)\.yaml$
- repo: local
hooks:
- id: clang-format-with-version-check
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册