From 362af59c2ad5f076611de1da85dd7e061226295b Mon Sep 17 00:00:00 2001 From: Kazuya Takei Date: Mon, 7 Oct 2024 03:13:22 +0900 Subject: [PATCH] fix: Run pre-commit from uvx --- {{cookiecutter.project_basename}}/Taskfile.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_basename}}/Taskfile.yaml b/{{cookiecutter.project_basename}}/Taskfile.yaml index beb844c..3f1d97e 100644 --- a/{{cookiecutter.project_basename}}/Taskfile.yaml +++ b/{{cookiecutter.project_basename}}/Taskfile.yaml @@ -12,7 +12,7 @@ tasks: verify: desc: 'Verify environment by all procs' cmds: - - '{{.RUN_PYTHON}} pre-commit run --all-files' + - 'uvx pre-commit run --all-files' - '{{.RUN_PYTHON}} pytest' - task: 'docs:intl' - task: 'docs:build-linkcheck'