From 3ec13ef3f5cf93d19aa57a9fe7b5bd98336d85c8 Mon Sep 17 00:00:00 2001 From: hnyls2002 Date: Wed, 11 Sep 2024 21:24:25 +0000 Subject: [PATCH 1/2] update --- .pre-commit-config.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2fa1254a66..3e8472327c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,6 @@ +default_language_version: + python: python3.8 + repos: - repo: https://github.com/PyCQA/isort rev: 5.13.2 @@ -7,3 +10,8 @@ repos: rev: 24.4.2 hooks: - id: black + + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.6.0 + hooks: + - id: no-commit-to-branch From ac8fb29a66330cb820b0bc0ad687108213f2f18e Mon Sep 17 00:00:00 2001 From: hnyls2002 Date: Wed, 11 Sep 2024 21:26:31 +0000 Subject: [PATCH 2/2] updat version --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3e8472327c..7489004bd0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ default_language_version: - python: python3.8 + python: python3.9 repos: - repo: https://github.com/PyCQA/isort