Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 25, 2023
1 parent 57377ea commit 104e80b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/mk/tools/taskfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 104e80b

Please sign in to comment.