From 518f9095a07e393dc4a0e7711fbb56478efa19cc Mon Sep 17 00:00:00 2001 From: Tim <50115603+bossenti@users.noreply.github.com> Date: Fri, 22 Sep 2023 13:25:26 +0200 Subject: [PATCH] fix: add missing `poetry run` command (#1954) --- .github/workflows/pypi-deployment.yml | 4 ++-- streampipes-client-python/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi-deployment.yml b/.github/workflows/pypi-deployment.yml index 72fe6caf44..948d837e0f 100644 --- a/.github/workflows/pypi-deployment.yml +++ b/.github/workflows/pypi-deployment.yml @@ -48,7 +48,7 @@ jobs: working-directory: ./streampipes-client-python run: | poetry build - twine check --strict dist/* + poetry run twine check --strict dist/* - name: Publish package uses: pypa/gh-action-pypi-publish@release/v1 @@ -59,7 +59,7 @@ jobs: - name: Publish new doc version and update alias working-directory: ./streampipes-client-python run: | - mike deploy ${GITHUB_REF##*/} latest -u --deploy-prefix ./streampipes-client-python/docs-tmp -b ${GITHUB_REF} + poetry run mike deploy ${GITHUB_REF##*/} latest -u --deploy-prefix ./streampipes-client-python/docs-tmp -b ${GITHUB_REF} git reset --hard # undo local changes that delete generated doc files - name: Publish Python docs as artifact diff --git a/streampipes-client-python/Makefile b/streampipes-client-python/Makefile index 187b3d380c..682c6c56d4 100644 --- a/streampipes-client-python/Makefile +++ b/streampipes-client-python/Makefile @@ -17,7 +17,7 @@ .PHONY: check check: mypy lint unit-tests - interrogate -c pyproject.toml + poetry run interrogate -c pyproject.toml .PHONY: doc doc: @@ -25,7 +25,7 @@ doc: .PHONY: lint lint: - flake8 streampipes --max-line-length 120 + poetry run flake8 streampipes --max-line-length 120 .PHONY: livedoc livedoc: doc