From 753d0bbaec611271f7c5e7d6a0db8fe1c99f5f43 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sat, 6 Sep 2025 10:53:43 -0700 Subject: [PATCH] Refactor `poetry:install` task Separating the complex version determination code from the installation command makes it easier to understand the task code. --- Taskfile.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 2fda929..e669add 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -451,15 +451,18 @@ tasks: task utility:normalize-path \ RAW_PATH="$(which python)" \ )" + + poetry_constraint="$( \ + yq \ + --input-format toml \ + --output-format yaml \ + '.tool.poetry.group.pipx.dependencies.poetry' \ +