🚧 Poetry shell -> poetry run
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful

This commit is contained in:
2024-02-11 20:02:47 +01:00
parent 2b0eb40ab1
commit 0993c42557

View File

@@ -13,8 +13,7 @@ steps:
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
pip install poetry
poetry install --only=linters
poetry shell
ruff --output-format sarif . | ./bin/reviewdog -f sarif -reporter gitea-pr-review
poetry run ruff --output-format sarif . | ./bin/reviewdog -f sarif -reporter gitea-pr-review
- name: mypy
image: python:3.12-alpine
@@ -25,5 +24,4 @@ steps:
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
pip install poetry
poetry install --only=linters
poetry shell
mypy --no-incremental . | ./bin/reviewdog -f mypy -reporter gitea-pr-review
poetry run mypy --no-incremental . | ./bin/reviewdog -f mypy -reporter gitea-pr-review