🚧 Run linters in poetry virtual environment
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful

This commit is contained in:
2024-02-11 19:59:10 +01:00
parent 8082f7f012
commit 2b0eb40ab1

View File

@@ -13,6 +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
- name: mypy
@@ -24,4 +25,5 @@ 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