Skip to content

Commit

Permalink
[Eager]Add sort-simple-yaml for automatically sort api|backward.yaml (P…
Browse files Browse the repository at this point in the history
…addlePaddle#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
  • Loading branch information
Aurelius84 authored Mar 29, 2022
1 parent 23c3d96 commit cc52501
Show file tree
Hide file tree
Showing 3 changed files with 1,988 additions and 508 deletions.
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ 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
- id: check-symlinks
- 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
Expand Down
Loading

0 comments on commit cc52501

Please sign in to comment.