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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

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
]: