Skip to content

Commit

Permalink
Defaulted pylint (#1515)
Browse files Browse the repository at this point in the history

Co-authored-by: jan iversen <[email protected]>
  • Loading branch information
jamesbraza and janiversen authored Apr 25, 2023
1 parent a5dd6b8 commit abbe99a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 288 deletions.
4 changes: 1 addition & 3 deletions pymodbus/client/tcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,7 @@ def recv(self, size):

return b"".join(data)

def _handle_abrupt_socket_close(
self, size, data, duration
): # pylint: disable=missing-type-doc
def _handle_abrupt_socket_close(self, size, data, duration):
"""Handle unexpected socket close by remote end.
Intended to be invoked after determining that the remote end
Expand Down
2 changes: 1 addition & 1 deletion pymodbus/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class ModbusStatus: # pylint: disable=too-few-public-methods

Waiting = 0xFFFF
Ready = 0x0000
On = 0xFF00 # pylint: disable=invalid-name
On = 0xFF00
Off = 0x0000
SlaveOn = 0xFF
SlaveOff = 0x00
Expand Down
Loading

0 comments on commit abbe99a

Please sign in to comment.