21 lines
491 B
YAML
21 lines
491 B
YAML
when:
|
|
- event: push
|
|
- branch:
|
|
exclude: [master, release/*]
|
|
|
|
steps:
|
|
- name: ruff
|
|
image: python:3.12-alpine
|
|
failure: ignore
|
|
commands: |
|
|
pip install ruff
|
|
ruff --output-format diff .
|
|
|
|
- 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]
|
|
pip install mypy
|
|
mypy . | eviewdog -f=mypy -reporter=gitea-pr-review -tee
|