Say we're running pylint

Now that the script might additionally run mypy, it's more
user-friendly to indicate what's going on at the beginning as well.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2021-01-19 21:19:25 +01:00
parent 2991b5f6c0
commit 6d82a7ef9f

View File

@ -62,6 +62,7 @@ elif [ "$1" = "--can-mypy" ]; then
exit exit
fi fi
echo 'Running pylint ...'
$PYTHON -m pylint -j 2 scripts/mbedtls_dev/*.py scripts/*.py tests/scripts/*.py || { $PYTHON -m pylint -j 2 scripts/mbedtls_dev/*.py scripts/*.py tests/scripts/*.py || {
echo >&2 "pylint reported errors" echo >&2 "pylint reported errors"
ret=1 ret=1