💚 Run backend linters on commits only
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/pr/lint Pipeline failed

Try to force the linters to run even if the previous one fails.
This commit is contained in:
2024-02-11 17:48:01 +01:00
parent c8732a0375
commit 6687c2de15

View File

@@ -1,15 +1,19 @@
when:
- event: push
- branch:
exclude: [master, release/*]
steps: steps:
- name: ruff - name: ruff
image: python:3.12-alpine image: python:3.12-alpine
commands: commands:
- pip install ruff - pip install ruff
- ruff --output-format github . - ruff --output-format github .
when:
- branch:
exclude: [master, develop, release/*]
- name: mypy - name: mypy
image: python:3.12-alpine image: python:3.12-alpine
commands: | commands: |
pip install mypy pip install mypy
mypy . mypy .
runs_on: [ success, failure ]