Update .pre-commit-config.yaml

pull/2754/head
TianYuan 2 years ago committed by GitHub
parent 9da38a2db6
commit b358eb5c99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,12 +3,8 @@ repos:
rev: v0.16.0 rev: v0.16.0
hooks: hooks:
- id: yapf - id: yapf
name: yapf files: \.py$
language: python exclude: (?=third_party).*(\.py)$
entry: yapf
args: [-i, -vv]
types: [python]
exclude: (?=speechx/speechx/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
rev: a11d9314b22d8f8c7556443875b731ef05965464 rev: a11d9314b22d8f8c7556443875b731ef05965464

Loading…
Cancel
Save