From 88e3177fccd7fb3ea1db4ef0b5a1addc6b770c45 Mon Sep 17 00:00:00 2001 From: Janos Follath Date: Mon, 31 Oct 2022 14:32:46 +0000 Subject: [PATCH] Make pylint happy Signed-off-by: Janos Follath --- scripts/mbedtls_dev/bignum_core.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/scripts/mbedtls_dev/bignum_core.py b/scripts/mbedtls_dev/bignum_core.py index e88f469a14..f8ba12b025 100644 --- a/scripts/mbedtls_dev/bignum_core.py +++ b/scripts/mbedtls_dev/bignum_core.py @@ -76,14 +76,14 @@ class BignumCoreCTLookup(BignumCoreTarget, metaclass=ABCMeta): test_name = "Constant time MPI table lookup" bitsizes = [ - (32, "One limb"), - (192, "Smallest curve sized"), - (512, "Largest curve sized"), - (2048, "Small FF/RSA sized"), - (4096, "Large FF/RSA sized"), - ] + (32, "One limb"), + (192, "Smallest curve sized"), + (512, "Largest curve sized"), + (2048, "Small FF/RSA sized"), + (4096, "Large FF/RSA sized"), + ] - window_sizes = [ 0, 1, 2, 3, 4, 5, 6 ] + window_sizes = [0, 1, 2, 3, 4, 5, 6] def __init__(self, bitsize: int, descr: str, window_size: int) -> None: @@ -96,10 +96,10 @@ class BignumCoreCTLookup(BignumCoreTarget, metaclass=ABCMeta): def description(self) -> str: return '{} - {} MPI with {} bit window'.format( - BignumCoreCTLookup.test_name, - self.bitsize_description, - self.window_size - ) + BignumCoreCTLookup.test_name, + self.bitsize_description, + self.window_size + ) @classmethod def generate_function_tests(cls) -> Iterator[test_case.TestCase]: