Merge pull request #3252 from PaddlePaddle/yt605155624-patch-1

Update .pre-commit-config.yaml
pull/3281/head
Hui Zhang 2 years ago committed by GitHub
commit 79d6d37c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,11 +3,7 @@ repos:
rev: v0.16.0 rev: v0.16.0
hooks: hooks:
- id: yapf - id: yapf
name: yapf files: \.py$
language: python
entry: yapf
args: [-i, -vv]
types: [python]
exclude: (?=runtime/engine/kaldi|audio/paddleaudio/src|third_party).*(\.cpp|\.cc|\.h\.hpp|\.py)$ exclude: (?=runtime/engine/kaldi|audio/paddleaudio/src|third_party).*(\.cpp|\.cc|\.h\.hpp|\.py)$
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks

Loading…
Cancel
Save