Check scripts/mbedtls_dev/*.py with pylint

mypy automatically checks the modules when it encounters them as
imports. Don't make it check them twice, because it would complain
about encountering them through different paths (via the command line
as scripts/mbedtls_dev/*.py and via imports as just mbedtls_dev/*.py).

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2020-12-11 00:58:48 +01:00
parent 86fc21cd3b
commit b13ed70b32

View File

@ -28,7 +28,7 @@ else
PYTHON=python PYTHON=python
fi fi
$PYTHON -m pylint -j 2 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
} }