From 1424fc9781c2d07a8f9d089b82779b370b031f68 Mon Sep 17 00:00:00 2001 From: TianYuan Date: Thu, 18 May 2023 14:16:23 +0800 Subject: [PATCH] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6afa7c9c..f72b44ac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,11 +3,7 @@ repos: rev: v0.16.0 hooks: - id: yapf - name: yapf - language: python - entry: yapf - args: [-i, -vv] - types: [python] + files: \.py$ exclude: (?=runtime/engine/kaldi|audio/paddleaudio/src|third_party).*(\.cpp|\.cc|\.h\.hpp|\.py)$ - repo: https://github.com/pre-commit/pre-commit-hooks