1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

Merge branch 'mypy-from-debian' into 'master'

gitlab-ci: use mypy from Debian/bullseye to prevent random breakage

See merge request fdroid/fdroidserver!952
This commit is contained in:
Hans-Christoph Steiner 2021-06-09 10:51:12 +00:00
commit 86b053291d

View File

@ -202,9 +202,16 @@ lint_format_safety_bandit_checks:
lint_mypy:
image: python:3.9-buster
image: debian:bullseye
<<: *apt-template
script:
- pip install mypy
- sed -i '/pyjks/d' setup.py # TODO get from backports once available
# use Debian packages to avoid building C/rust sources
- apt-get install
mypy
python3-cryptography
python3-pip
python3-wheel
- pip install -e .[test]
# exclude vendored file
- mypy --exclude fdroidserver/apksigcopier.py
@ -427,6 +434,7 @@ Build documentation:
paths:
- docs/build/html/
pages:
image: alpine:latest
stage: deploy