From 0cddf9dc7e585ab9d5aa635ca046ecb8431a503d Mon Sep 17 00:00:00 2001 From: Adrien Date: Sun, 11 Feb 2024 18:34:51 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Fix=20reviewdog=20version=20and?= =?UTF-8?q?=20setup=20ruff?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/.woodpecker/.lint.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/.woodpecker/.lint.yaml b/backend/.woodpecker/.lint.yaml index edec53b..fad11ee 100644 --- a/backend/.woodpecker/.lint.yaml +++ b/backend/.woodpecker/.lint.yaml @@ -8,13 +8,14 @@ steps: image: python:3.12-alpine failure: ignore commands: | + wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest pip install ruff - ruff --output-format diff . + ruff --output-format sarif . | eviewdog -f=sarif -reporter=gitea-pr-review -tee - name: mypy image: python:3.12-alpine failure: ignore 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 mypy . | eviewdog -f=mypy -reporter=gitea-pr-review -tee