fix(dirty): disable pylint too-many-return-statements in TLV

This commit is contained in:
Benoit Chesneau 2026-02-11 23:48:07 +01:00
parent 6d691b30e1
commit f4e219716f

View File

@ -50,7 +50,7 @@ class TLVEncoder:
"""
@staticmethod
def encode(value) -> bytes:
def encode(value) -> bytes: # pylint: disable=too-many-return-statements
"""
Encode a Python value to TLV binary format.
@ -125,7 +125,7 @@ class TLVEncoder:
)
@staticmethod
def decode(data: bytes, offset: int = 0) -> tuple:
def decode(data: bytes, offset: int = 0) -> tuple: # pylint: disable=too-many-return-statements
"""
Decode a TLV-encoded value from binary data.