Fix pylint errors

Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
Bence Szépkúti 2021-11-02 13:41:14 +01:00
parent 83aa604ce5
commit 449781fda7

View File

@ -1,5 +1,11 @@
#!/usr/bin/env python3 #!/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 os
import re import re
import shutil import shutil
@ -90,8 +96,8 @@ def main():
if unexpected_successes or unexpected_failures: if unexpected_successes or unexpected_failures:
if unexpected_successes: if unexpected_successes:
print('Unexpected successes encountered.') print('Unexpected successes encountered.')
#pylint: disable=line-too-long print('Please remove the corresponding tests from '
print('Please remove the corresponding tests from EXPECTED_FAILURES in tests/scripts/compliance_test.py') 'EXPECTED_FAILURES in tests/scripts/compliance_test.py')
print() print()
print('FAILED') print('FAILED')
sys.exit(1) sys.exit(1)