1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-12 19:09:56 +03:00

CI: Use install_mypy.sh

Reduces repetition.
This commit is contained in:
Stefan Hansson 2025-03-13 20:10:17 +01:00
parent 6465a6aa87
commit 0fed730474
No known key found for this signature in database
GPG key ID: ACD854892B38D898

View file

@ -4,11 +4,11 @@
if [ "$(id -u)" = 0 ]; then
set -x
apk -q add py3-argcomplete py3-pip
wget https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/install_mypy.sh
sh ./install_mypy.sh py3-argcomplete
exec su "${TESTUSER:-build}" -c "sh -e $0"
fi
set -x
pip install --break-system-packages --no-warn-script-location mypy
python -m mypy pmbootstrap.py