From ad4631fdd456c8264f34e27ab43823c9ca97db41 Mon Sep 17 00:00:00 2001 From: SWHL Date: Sat, 24 Jun 2023 10:19:12 +0800 Subject: [PATCH] Update pre-commit --- .pre-commit-config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1e920f7ec..5c227d686 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,9 @@ repos: "--remove-unused-variable", "--ignore-init-module-imports", ] + files: \.py$ - repo: https://gitee.com/SWHL/black rev: 23.1.0 hooks: - - id: black \ No newline at end of file + - id: black + files: \.py$ \ No newline at end of file