From e31014a681f43bc0f16e097d6ed2d4f600919210 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Wed, 19 Jul 2023 11:43:27 +0100 Subject: [PATCH] Tweak test_psa_compliance pylint annotations Signed-off-by: David Horstmann --- tests/scripts/test_psa_compliance.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/scripts/test_psa_compliance.py b/tests/scripts/test_psa_compliance.py index a1a02603e..225e37ceb 100755 --- a/tests/scripts/test_psa_compliance.py +++ b/tests/scripts/test_psa_compliance.py @@ -28,6 +28,7 @@ import shutil import subprocess import sys +#pylint: disable=unused-import import scripts_path from mbedtls_dev import build_tree @@ -52,11 +53,11 @@ EXPECTED_FAILURES = { PSA_ARCH_TESTS_REPO = 'https://github.com/bensze01/psa-arch-tests.git' PSA_ARCH_TESTS_REF = 'fix-pr-5736' -#pylint: disable=too-many-branches,too-many-statements +#pylint: disable=too-many-branches,too-many-statements,too-many-locals def main(): mbedtls_dir = os.getcwd() - is_psa_crypto = build_tree.looks_like_psa_crypto_root(mbedtls_dir) #type: bool + is_psa_crypto = build_tree.looks_like_psa_crypto_root(mbedtls_dir) if not is_psa_crypto: if not os.path.exists('library/libmbedcrypto.a'):