We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d691b3 commit f4e2197Copy full SHA for f4e2197
gunicorn/dirty/tlv.py
@@ -50,7 +50,7 @@ class TLVEncoder:
50
"""
51
52
@staticmethod
53
- def encode(value) -> bytes:
+ def encode(value) -> bytes: # pylint: disable=too-many-return-statements
54
55
Encode a Python value to TLV binary format.
56
@@ -125,7 +125,7 @@ def encode(value) -> bytes:
125
)
126
127
128
- def decode(data: bytes, offset: int = 0) -> tuple:
+ def decode(data: bytes, offset: int = 0) -> tuple: # pylint: disable=too-many-return-statements
129
130
Decode a TLV-encoded value from binary data.
131
0 commit comments