mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-29 08:24:11 -04:00
Extend python checks to framework scripts
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
c085cc767d
commit
8493452d6f
@ -55,14 +55,14 @@ elif [ "$1" = "--can-mypy" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo 'Running pylint ...'
|
echo 'Running pylint ...'
|
||||||
$PYTHON -m pylint framework/scripts/mbedtls_framework/*.py scripts/*.py tests/scripts/*.py || {
|
$PYTHON -m pylint framework/scripts/*.py framework/scripts/mbedtls_framework/*.py scripts/*.py tests/scripts/*.py || {
|
||||||
echo >&2 "pylint reported errors"
|
echo >&2 "pylint reported errors"
|
||||||
ret=1
|
ret=1
|
||||||
}
|
}
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo 'Running mypy ...'
|
echo 'Running mypy ...'
|
||||||
$PYTHON -m mypy framework/scripts/mbedtls_framework/*.py scripts/*.py tests/scripts/*.py ||
|
$PYTHON -m mypy framework/scripts/*.py framework/scripts/mbedtls_framework/*.py scripts/*.py tests/scripts/*.py ||
|
||||||
ret=1
|
ret=1
|
||||||
|
|
||||||
exit $ret
|
exit $ret
|
||||||
|
Loading…
x
Reference in New Issue
Block a user