Files
carrramba-encore-rate/backend/.woodpecker/.lint.yaml
Adrien 58c18a0479
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
🚧 Enable REVIEWDOG_GITEA_API_TOKEN
2024-02-11 18:54:05 +01:00

24 lines
747 B
YAML

when:
- event: push
- branch:
exclude: [master, release/*]
steps:
- name: ruff
image: python:3.12-alpine
failure: ignore
secrets: ["reviewdog_gitea_api_token"]
commands: |
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
- name: mypy
image: python:3.12-alpine
failure: ignore
secrets: ["reviewdog_gitea_api_token"]
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