From 5f15fe67f53c117c1e0b57e07b0d234fa9bba6fa Mon Sep 17 00:00:00 2001 From: BAK BYEONG JUN Date: Tue, 15 Apr 2025 11:40:04 +0000 Subject: [PATCH] init --- tasks/pybuild/task.yaml | 2 +- tasks/pylint/task.yaml | 2 +- tasks/pytest/task.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/pybuild/task.yaml b/tasks/pybuild/task.yaml index ad93983..e5660aa 100644 --- a/tasks/pybuild/task.yaml +++ b/tasks/pybuild/task.yaml @@ -41,7 +41,7 @@ spec: echo "[INFO] Poetry project detected" pip install poetry --root-user-action=ignore - poetry lock --no-update || echo "[WARN] poetry lock skipped" + poetry lock || echo "[WARN] poetry lock skipped" poetry install --no-root || echo "[WARN] poetry install skipped" echo "📦 Building with Poetry..." diff --git a/tasks/pylint/task.yaml b/tasks/pylint/task.yaml index b3e04d6..d3f810f 100644 --- a/tasks/pylint/task.yaml +++ b/tasks/pylint/task.yaml @@ -51,7 +51,7 @@ spec: if [ -f pyproject.toml ]; then echo "[INFO] Poetry project detected" pip install poetry --root-user-action=ignore - poetry lock --no-update + poetry lock poetry install --with dev elif [ -f requirements.txt ]; then echo "[INFO] Pip project detected" diff --git a/tasks/pytest/task.yaml b/tasks/pytest/task.yaml index 6fc3031..29c27ab 100644 --- a/tasks/pytest/task.yaml +++ b/tasks/pytest/task.yaml @@ -40,7 +40,7 @@ spec: pip install poetry --root-user-action=ignore echo "[INFO] Using pre-configured poetry settings from $HOME/.config/pypoetry/" - poetry lock --no-cache --no-update + poetry lock --no-cache poetry install elif [ -f requirements.txt ]; then echo "[INFO] Using pip to install dependencies"