Run Mypy linter on backend pull requests
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/pr/lint Pipeline failed

This commit is contained in:
2024-02-11 17:40:06 +01:00
parent ff808e7c8f
commit c8732a0375
2 changed files with 10 additions and 3 deletions

View File

@@ -3,7 +3,13 @@ steps:
image: python:3.12-alpine
commands:
- pip install ruff
- ruff . --format github
- ruff --output-format github .
when:
- branch:
exclude: [master, develop, release/*]
- name: mypy
image: python:3.12-alpine
commands: |
pip install mypy
mypy .