From 449781fda774db94b3b0366002047817e774f683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20Sz=C3=A9pk=C3=BAti?= Date: Tue, 2 Nov 2021 13:41:14 +0100 Subject: [PATCH] Fix pylint errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bence Szépkúti --- tests/scripts/test_psa_compliance.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tests/scripts/test_psa_compliance.py b/tests/scripts/test_psa_compliance.py index dfd23938a2..41003d80da 100755 --- a/tests/scripts/test_psa_compliance.py +++ b/tests/scripts/test_psa_compliance.py @@ -1,5 +1,11 @@ #!/usr/bin/env python3 -#pylint: disable=missing-module-docstring +"""Run the PSA Cryto API compliance test suite. +Clone the repo and check out the commit specified by PSA_ARCH_TEST_REPO and PSA_ARCH_TEST_REF, +then complie and run the test suite. +Known defects in either the test suite or mbedtls - identified by their test number - are ignored, +while unexpected failures AND successes are reported as errors, +to help keep the list of known defects as up to date as possible. +""" import os import re import shutil @@ -90,8 +96,8 @@ def main(): if unexpected_successes or unexpected_failures: if unexpected_successes: print('Unexpected successes encountered.') - #pylint: disable=line-too-long - print('Please remove the corresponding tests from EXPECTED_FAILURES in tests/scripts/compliance_test.py') + print('Please remove the corresponding tests from ' + 'EXPECTED_FAILURES in tests/scripts/compliance_test.py') print() print('FAILED') sys.exit(1)