@@ -209,7 +209,7 @@ def write_transport(self, packet):
209209 return self .transport .sendto (packet )
210210
211211
212- class ReconnectingAsyncioModbusTcpClient : # pylint: disable=too-many-instance-attributes
212+ class ReconnectingAsyncioModbusTcpClient :
213213 """ Client to connect to modbus device repeatedly over TCP/IP. """
214214 #: Minimum delay in milli seconds before reconnect is attempted.
215215 DELAY_MIN_MS = 100
@@ -453,7 +453,7 @@ def _create_protocol(self):
453453 protocol .factory = self
454454 return protocol
455455
456- class ReconnectingAsyncioModbusUdpClient : # pylint: disable=too-many-instance-attributes
456+ class ReconnectingAsyncioModbusUdpClient :
457457 """ Client to connect to modbus device repeatedly over UDP. """
458458
459459 #: Reconnect delay in milli seconds.
@@ -669,12 +669,12 @@ def protocol_lost_connection(self, protocol):
669669 'callback called while not connected.' )
670670
671671
672- class AsyncioModbusSerialClient : # pylint: disable=too-many-instance-attributes
672+ class AsyncioModbusSerialClient :
673673 """ Client to connect to modbus device over serial. """
674674 transport = None
675675 framer = None
676676
677- def __init__ (self , port , protocol_class = None , framer = None , loop = None , # pylint: disable=too-many-arguments
677+ def __init__ (self , port , protocol_class = None , framer = None , loop = None ,
678678 baudrate = 9600 , bytesize = 8 , parity = 'N' , stopbits = 1 , ** serial_kwargs ):
679679 """ Initializes Asyncio Modbus Serial Client
680680 :param port: Port to connect
@@ -772,7 +772,7 @@ async def init_tcp_client(proto_cls, loop, host, port, **kwargs):
772772 return client
773773
774774
775- async def init_tls_client (proto_cls , loop , host , port , sslctx = None , # pylint: disable=too-many-arguments
775+ async def init_tls_client (proto_cls , loop , host , port , sslctx = None ,
776776 server_hostname = None , framer = None , ** kwargs ):
777777 """ Helper function to initialize tcp client
778778 :param proto_cls:
0 commit comments