Add mbedtls_framework to mypy checks

Since this python module resides in the framework submodule we must
add an extra explicit path to it for mypy.

Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
David Horstmann 2024-05-03 16:01:36 +01:00
parent 875c32fa07
commit 299e741e8e

View File

@ -62,7 +62,7 @@ $PYTHON -m pylint framework/scripts/mbedtls_framework/*.py scripts/*.py tests/sc
echo
echo 'Running mypy ...'
$PYTHON -m mypy scripts/*.py tests/scripts/*.py ||
$PYTHON -m mypy framework/scripts/mbedtls_framework/*.py scripts/*.py tests/scripts/*.py ||
ret=1
exit $ret