Skip to content

Commit 11e622e

Browse files
authored
Merge pull request #321 from faucetsdn/renovate/pytype-2022.x
Update dependency pytype to v2022.1.31
2 parents b8fe98c + 6db23fd commit 11e622e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

chewie/radius_datatypes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def parse(cls, packed_value):
7777
try:
7878
cls.is_valid_length(packed_value)
7979
return cls(bytes_data=struct.unpack("!4s", packed_value)[0])
80-
except (ValueError, struct.error)as exception:
80+
except (ValueError, struct.error) as exception:
8181
raise MessageParseError("%s unable to unpack." % cls.__name__) from exception
8282

8383
def pack(self, attribute_type):
@@ -108,7 +108,7 @@ def parse(cls, packed_value):
108108
try:
109109
cls.is_valid_length(packed_value)
110110
return cls(bytes_data=struct.unpack("!4s", packed_value)[0])
111-
except (ValueError, struct.error)as exception:
111+
except (ValueError, struct.error) as exception:
112112
raise MessageParseError("%s unable to unpack." % cls.__name__) from exception
113113

114114
def pack(self, attribute_type):

codecheck-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
pylint==2.12.2
2-
pytype==2022.1.13
2+
pytype==2022.1.31

0 commit comments

Comments
 (0)