Skip to content

Commit e8728e4

Browse files
authored
Pylint, duplicate lines suppressed. (#800)
1 parent bff778d commit e8728e4

20 files changed

+20
-0
lines changed

examples/common/async_asyncio_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
99
The example is only valid on Python3.4 and above
1010
"""
11+
# pylint: disable=R0801
1112
import asyncio
1213
import logging
1314
import time

examples/common/async_asyncio_serial_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
99
The example is only valid on Python3.4 and above
1010
"""
11+
# pylint: disable=R0801
1112
import logging
1213
import asyncio
1314
from pymodbus.client.asynchronous.serial import ( # pylint: disable=no-name-in-module

examples/common/async_tornado_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
The following is an example of how to use the asynchronous modbus
77
client implementation from pymodbus using Tornado.
88
"""
9+
# pylint: disable=R0801
910
import logging
1011
import functools
1112
from tornado.ioloop import IOLoop

examples/common/async_tornado_client_serial.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
The following is an example of how to use the asynchronous serial modbus
77
client implementation from pymodbus using tornado.
88
"""
9+
# pylint: disable=R0801
910
# ---------------------------------------------------------------------------#
1011
# import needed libraries
1112
# ---------------------------------------------------------------------------#

examples/common/async_twisted_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
The following is an example of how to use the asynchronous modbus
77
client implementation from pymodbus.
88
"""
9+
# pylint: disable=R0801
910
# --------------------------------------------------------------------------- #
1011
# import needed libraries
1112
# --------------------------------------------------------------------------- #

examples/common/async_twisted_client_serial.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
The following is an example of how to use the asynchronous serial modbus
77
client implementation from pymodbus with twisted.
88
"""
9+
# pylint: disable=R0801
910
import logging
1011

1112
from twisted.internet import reactor

examples/common/asynchronous_processor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
The following is a full example of a continuous client processor. Feel
77
free to use it as a skeleton guide in implementing your own.
88
"""
9+
# pylint: disable=R0801
910
# --------------------------------------------------------------------------- #
1011
# import the necessary modules
1112
# --------------------------------------------------------------------------- #

examples/common/asynchronous_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
twisted library as its backend. This allows it to scale to many thousands
88
of nodes which can be helpful for testing monitoring software.
99
"""
10+
# pylint: disable=R0801
1011
# --------------------------------------------------------------------------- #
1112
# import the various server implementations
1213
# --------------------------------------------------------------------------- #

examples/common/asyncio_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
asyncio-pyserial). This is helpful in constrained or old environments where using
99
twisted is just not feasible. What follows is an example of its use:
1010
"""
11+
# pylint: disable=R0801
1112
# --------------------------------------------------------------------------- #
1213
# import the various server implementations
1314
# --------------------------------------------------------------------------- #

examples/common/callback_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
when a value is written to it. In order for this to work, it needs
88
a device-mapping file.
99
"""
10+
# pylint: disable=R0801
1011
import logging
1112
from multiprocessing import Queue, Process
1213

0 commit comments

Comments
 (0)