1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Suppress pylint

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
Thomas Daubney
2024-02-26 13:49:26 +00:00
parent 5cd611d144
commit 4a46d73bb0

View File

@ -142,6 +142,7 @@ class PSAWrapperGenerator(c_wrapper_generator.Base):
_buffer_name: Optional[str]) -> bool: _buffer_name: Optional[str]) -> bool:
"""Whether the specified buffer argument to a PSA function should be copied. """Whether the specified buffer argument to a PSA function should be copied.
""" """
#pylint: disable=too-many-return-statements
if function_name.startswith('psa_aead'): if function_name.startswith('psa_aead'):
return True return True
if function_name == 'psa_cipher_encrypt': if function_name == 'psa_cipher_encrypt':