#!/bin/sh -e # Description: static type checking for python scripts # https://postmarketos.org/pmb-ci if [ "$(id -u)" = 0 ]; then set -x apk -q add py3-argcomplete py3-mypy exec su "${TESTUSER:-build}" -c "sh -e $0" fi set -x mypy pmbootstrap.py