Skip to content

Commit

Permalink
Merge pull request #321 from faucetsdn/renovate/pytype-2022.x
Browse files Browse the repository at this point in the history
Update dependency pytype to v2022.1.31
  • Loading branch information
anarkiwi authored Feb 1, 2022
2 parents b8fe98c + 6db23fd commit 11e622e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions chewie/radius_datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def parse(cls, packed_value):
try:
cls.is_valid_length(packed_value)
return cls(bytes_data=struct.unpack("!4s", packed_value)[0])
except (ValueError, struct.error)as exception:
except (ValueError, struct.error) as exception:
raise MessageParseError("%s unable to unpack." % cls.__name__) from exception

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

def pack(self, attribute_type):
Expand Down
2 changes: 1 addition & 1 deletion codecheck-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pylint==2.12.2
pytype==2022.1.13
pytype==2022.1.31

0 comments on commit 11e622e

Please sign in to comment.