Add a mypy run to the pipeline

This commit is contained in:
Benedikt Brückmann 2021-03-12 08:49:40 +01:00 committed by Hans-Christoph Steiner
parent 7e60acb259
commit 8f0712e89b
4 changed files with 27 additions and 5 deletions

View file

@ -188,6 +188,13 @@ lint_format_safety_bandit_checks:
- pybabel compile --domain=fdroidserver --directory locale 2>&1 | (grep -F "error:" && exit 1) || true
- exit $EXITVALUE
lint_mypy:
image: python:3.9-buster
script:
- pip install mypy
- pip install -e .[test]
- mypy
fedora_latest:
image: fedora:latest
only: