From 03563b8e6593f01d4a34b6312e99d0cc16e04fcc Mon Sep 17 00:00:00 2001 From: Wei Lee Date: Tue, 28 May 2024 23:04:19 +0800 Subject: [PATCH] build(pre-commit): fix pre-commit runner --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5a2aac6..72ed606 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,7 +61,7 @@ repos: stages: [commit] language: system pass_filenames: false - entry: inv style.reformat + entry: poetry run inv style.reformat types: [python] - id: style-check @@ -69,7 +69,7 @@ repos: stages: [push] language: system pass_filenames: false - entry: inv style + entry: poetry run inv style types: [python] - id: security-check @@ -77,7 +77,7 @@ repos: stages: [push] language: system pass_filenames: false - entry: inv secure + entry: poetry run inv secure types: [python] - id: test @@ -85,5 +85,5 @@ repos: stages: [push] language: system pass_filenames: false - entry: inv test -a + entry: poetry run inv test -a types: [python]