Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
Julius2342 committed May 22, 2020
1 parent 7b9c636 commit a517c86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pypi:
@twine upload dist/*

pylint:
@pylint -j 8 --rcfile=.pylintrc pyvlx test/*.py *.py examples/*.py
@pylint --rcfile=.pylintrc pyvlx test/*.py *.py examples/*.py

pydocstyle:
@pydocstyle pyvlx test/*.py test/*.py *.py examples/*.py
Expand Down
2 changes: 1 addition & 1 deletion pyvlx/frames/frame_get_all_nodes_information.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def serial_number(self, serial_number):
self._serial_number = bytes(8)
return
self._serial_number = b''
for elem in (serial_number.split(":")):
for elem in serial_number.split(":"):
self._serial_number += bytes.fromhex(elem)
if len(self._serial_number) != 8:
raise PyVLXException("could_not_parse_serial_number")
Expand Down
2 changes: 1 addition & 1 deletion pyvlx/frames/frame_get_node_information.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def serial_number(self, serial_number):
self._serial_number = bytes(8)
return
self._serial_number = b''
for elem in (serial_number.split(":")):
for elem in serial_number.split(":"):
self._serial_number += bytes.fromhex(elem)
if len(self._serial_number) != 8:
raise PyVLXException("could_not_parse_serial_number")
Expand Down

0 comments on commit a517c86

Please sign in to comment.