🚧 Fix reviewdog version and setup ruff
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful

This commit is contained in:
2024-02-11 18:34:51 +01:00
parent bccbfe0ff3
commit 0cddf9dc7e

View File

@@ -8,13 +8,14 @@ steps:
image: python:3.12-alpine image: python:3.12-alpine
failure: ignore failure: ignore
commands: | commands: |
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
pip install ruff pip install ruff
ruff --output-format diff . ruff --output-format sarif . | eviewdog -f=sarif -reporter=gitea-pr-review -tee
- name: mypy - name: mypy
image: python:3.12-alpine image: python:3.12-alpine
failure: ignore failure: ignore
commands: | commands: |
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s [vX.Y.Z] wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
pip install mypy pip install mypy
mypy . | eviewdog -f=mypy -reporter=gitea-pr-review -tee mypy . | eviewdog -f=mypy -reporter=gitea-pr-review -tee