From 104e80b4c36a64aca1b011daad1f428f913852c9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 25 Nov 2023 10:25:02 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/mk/tools/taskfile.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mk/tools/taskfile.py b/src/mk/tools/taskfile.py index bf675c2..3c11a11 100644 --- a/src/mk/tools/taskfile.py +++ b/src/mk/tools/taskfile.py @@ -28,7 +28,7 @@ def is_present(self, path: Path) -> bool: "Taskfile.dist.yml" "taskfile.dist.yml" "Taskfile.dist.yaml" - "taskfile.dist.yaml" + "taskfile.dist.yaml", ] for taskfile in validTaskfiles: @@ -38,7 +38,8 @@ def is_present(self, path: Path) -> bool: self.executable = shutil.which(taskfile) or shutil.which("task") or "" if not self.executable: logging.error( - "%s config found but the tool is not installed. See https://taskfile.dev/installation/", taskfile + "%s config found but the tool is not installed. See https://taskfile.dev/installation/", + taskfile, ) sys.exit(1) return True