Make pylint happy
Signed-off-by: Janos Follath <janos.follath@arm.com>
diff --git a/scripts/mbedtls_dev/bignum_core.py b/scripts/mbedtls_dev/bignum_core.py
index f85fb2e..ed6ecbd 100644
--- a/scripts/mbedtls_dev/bignum_core.py
+++ b/scripts/mbedtls_dev/bignum_core.py
@@ -770,11 +770,7 @@
def is_valid(self) -> bool:
# The base needs to be canonical, but the exponent can be larger than
# the modulus (see for example exponent blinding)
- if self.int_a < self.int_n:
- return True
- else:
- return False
-
+ return bool(self.int_a < self.int_n)
# END MERGE SLOT 1