generate_test_keys: fix mypy issue for imported path

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
diff --git a/tests/scripts/check-python-files.sh b/tests/scripts/check-python-files.sh
index cf1f87a..51e8079 100755
--- a/tests/scripts/check-python-files.sh
+++ b/tests/scripts/check-python-files.sh
@@ -62,7 +62,6 @@
 
 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 630ab05..0e5137f 100755
--- a/tests/scripts/generate_test_keys.py
+++ b/tests/scripts/generate_test_keys.py
@@ -12,6 +12,7 @@
 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