diff --git a/tests/scripts/check-python-files.sh b/tests/scripts/check-python-files.sh index cf1f87ab12..51e80792b0 100755 --- a/tests/scripts/check-python-files.sh +++ b/tests/scripts/check-python-files.sh @@ -62,7 +62,6 @@ $PYTHON -m pylint scripts/mbedtls_dev/*.py scripts/*.py tests/scripts/*.py || { echo echo 'Running mypy ...' -export MYPYPATH="../../scripts" $PYTHON -m mypy scripts/*.py tests/scripts/*.py || ret=1 diff --git a/tests/scripts/generate_test_keys.py b/tests/scripts/generate_test_keys.py index 630ab05ac1..0e5137ff52 100755 --- a/tests/scripts/generate_test_keys.py +++ b/tests/scripts/generate_test_keys.py @@ -12,6 +12,7 @@ import sys SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) + "/" sys.path.append(SCRIPT_DIR + "../../scripts/") from mbedtls_dev.asymmetric_key_data import ASYMMETRIC_KEY_DATA +import scripts_path # pylint: disable=unused-import OUTPUT_HEADER_FILE = SCRIPT_DIR + "../src/test_keys.h" BYTES_PER_LINE = 12