From c653dbf124677e3c6b985d9c3a6c56ee243fcb0a Mon Sep 17 00:00:00 2001 From: Snowykami Date: Fri, 13 Dec 2024 02:55:30 +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=BC=98=E5=8C=96=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E5=AE=89=E8=A3=85=E6=AD=A5=E9=AA=A4=E5=B9=B6=E7=A6=81?= =?UTF-8?q?=E7=94=A8=E8=99=9A=E6=8B=9F=E7=8E=AF=E5=A2=83=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pre-commit.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 59202b67..5dc6bed1 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -18,9 +18,8 @@ jobs: - name: Install dependencies run: | python -m pip install pdm - pdm install - - source .venv/bin/activate + pdm config use_venv false + pdm install --no-lock pre-commit install - name: Run pre-commit