Files
carrramba-encore-rate/backend/.woodpecker/.lint.yaml
Adrien 0cddf9dc7e
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
🚧 Fix reviewdog version and setup ruff
2024-02-11 18:34:51 +01:00

22 lines
647 B
YAML

when:
- event: push
- branch:
exclude: [master, release/*]
steps:
- name: ruff
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 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 latest
pip install mypy
mypy . | eviewdog -f=mypy -reporter=gitea-pr-review -tee