Skip to content

Commit 00deda8

Browse files
committed
Please flake8.
1 parent f2639be commit 00deda8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

examples/common/synchronous_server.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
# --------------------------------------------------------------------------- #
1414
from pymodbus.version import version
1515

16-
from pymodbus.server.sync import StartTcpServer #NOSONAR
17-
# from pymodbus.server.sync import StartTlsServer #NOSONAR
18-
# from pymodbus.server.sync import StartUdpServer #NOSONAR
19-
# from pymodbus.server.sync import StartSerialServer #NOSONAR
16+
from pymodbus.server.sync import StartTcpServer # NOSONAR
17+
# from pymodbus.server.sync import StartTlsServer # NOSONAR
18+
# from pymodbus.server.sync import StartUdpServer # NOSONAR
19+
# from pymodbus.server.sync import StartSerialServer # NOSONAR
2020
from pymodbus.device import ModbusDeviceIdentification
2121
from pymodbus.datastore import ModbusSequentialDataBlock
2222

23-
# from pymodbus.datastore import ModbusSparseDataBlock #NOSONAR
23+
# from pymodbus.datastore import ModbusSparseDataBlock # NOSONAR
2424
from pymodbus.datastore import ModbusSlaveContext, ModbusServerContext
2525

2626
# from pymodbus.transaction import ModbusRtuFramer, ModbusBinaryFramer #NOSONAR

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ check-str-concat-over-line-jumps=no
472472
#max-line-length-suggestions=
473473

474474
[flake8]
475-
exclude = .venv,.git,.tox,venv,build
475+
exclude = .venv,.git,.tox,venv,build,tornado_twisted
476476
max-complexity = 25
477477
doctests = True
478478
max-line-length = 120

0 commit comments

Comments
 (0)