Skip to content

Commit 46e1932

Browse files
committed
mark frameProcessIncompingPackets with nowa
methods have been quite comples already and now ruff started to complain on those
1 parent 3525e37 commit 46e1932

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymodbus/framer/rtu_framer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def decode_data(self, data):
7272
return {"slave": uid, "fcode": fcode}
7373
return {}
7474

75-
async def frameProcessIncomingPacket(
75+
async def frameProcessIncomingPacket( # noqa: C901
7676
self, _single, callback, slave, _tid=None, **kwargs
7777
):
7878
"""Process new packet pattern."""

pymodbus/framer/socket_framer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def decode_data(self, data):
6161
}
6262
return {}
6363

64-
async def frameProcessIncomingPacket(
64+
async def frameProcessIncomingPacket( # noqa: C901
6565
self, single, callback, slave, tid=None, **kwargs
6666
):
6767
"""Process new packet pattern.

0 commit comments

Comments
 (0)