Format code with yapf

This commit is contained in:
deepsource-autofix[bot]
2021-12-26 04:59:57 +00:00
committed by GitHub
parent c3865ca093
commit dc54445e9a

View File

@@ -168,8 +168,7 @@ class Packet:
@staticmethod
def parse(val: typing.Union[bytes, None]) -> typing.Union[bytes, None]:
for cmd in [
Packet.Type.__dict__[attr]
for attr in Packet.Type.__dict__
Packet.Type.__dict__[attr] for attr in Packet.Type.__dict__
if re.search("__.+?__", attr) is None
and type(Packet.Type.__dict__[attr]) is bytes
]: