From 9e6cf7ecd77aadf74b9fb015b1f27a0f0238a622 Mon Sep 17 00:00:00 2001 From: Snowykami Date: Fri, 13 Dec 2024 02:59:06 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E6=9B=B4=E6=96=B0=20pre-commit=20?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=EF=BC=8C=E4=BD=BF=E7=94=A8=E8=99=9A?= =?UTF-8?q?=E6=8B=9F=E7=8E=AF=E5=A2=83=E4=B8=AD=E7=9A=84=20Python=20?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=20pre-commit=20=E5=AE=89=E8=A3=85=E5=92=8C?= =?UTF-8?q?=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pre-commit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 545e7182..a7d554c1 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -19,7 +19,7 @@ jobs: run: | python -m pip install pdm pdm install --no-lock - pre-commit install + .venv/bin/python -m pre-commit install - name: Run pre-commit - run: pre-commit run --all-files + run: .venv/bin/python -m pre-commit run --all-files