mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-14 07:20:52 +00:00
generate_test_keys: fix mypy issue for imported path
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
6bda5f5717
commit
8f40460b2b
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user