From e6d0ac26ca67d836ced78122135efc5e1af09a7d Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 12 Aug 2020 02:28:02 +0200 Subject: [PATCH] mbedtls_test.py: Tell mypy to ignore mbed_host_tests Since no typing stubs are available for mbed_host_tests.py, mypy errors out on mbedtls_test.py with error: Skipping analyzing 'mbed_host_tests': found module but no type hints or library stubs Ignore this import to get at least some benefit from mypy without spending significant effort to write stubs. Signed-off-by: Gilles Peskine --- tests/scripts/mbedtls_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/mbedtls_test.py b/tests/scripts/mbedtls_test.py index a5d094064..64f12bbb3 100755 --- a/tests/scripts/mbedtls_test.py +++ b/tests/scripts/mbedtls_test.py @@ -38,7 +38,7 @@ import re import os import binascii -from mbed_host_tests import BaseHostTest, event_callback # pylint: disable=import-error +from mbed_host_tests import BaseHostTest, event_callback # type: ignore # pylint: disable=import-error class TestDataParserError(Exception):