diff --git a/backend/.woodpecker/.lint.yaml b/backend/.woodpecker/.lint.yaml index 4f88ca9..48ea39b 100644 --- a/backend/.woodpecker/.lint.yaml +++ b/backend/.woodpecker/.lint.yaml @@ -12,7 +12,10 @@ steps: env wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest pip install ruff - ruff --output-format sarif . | ./bin/reviewdog -f=sarif -reporter=gitea-pr-review -tee + cd backend + ruff --output-format sarif . > /tmp/ruff.log + cat /tmp/ruff.log + cat /tmp/ruff.log | ./bin/reviewdog -f sarif -reporter gitea-pr-review - name: mypy image: python:3.12-alpine @@ -21,4 +24,5 @@ steps: commands: | wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest pip install mypy - mypy . | ./bin/reviewdog -f=mypy -reporter=gitea-pr-review -tee + cd backend + mypy . | ./bin/reviewdog -f mypy -reporter gitea-pr-review