Skip to content

Commit

Permalink
mark frameProcessIncompingPackets with nowa
Browse files Browse the repository at this point in the history
methods have been quite comples already and now ruff started to complain on those
  • Loading branch information
ilkka-ollakka committed Mar 28, 2024
1 parent 3525e37 commit 46e1932
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pymodbus/framer/rtu_framer.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def decode_data(self, data):
return {"slave": uid, "fcode": fcode}
return {}

async def frameProcessIncomingPacket(
async def frameProcessIncomingPacket( # noqa: C901
self, _single, callback, slave, _tid=None, **kwargs
):
"""Process new packet pattern."""
Expand Down
2 changes: 1 addition & 1 deletion pymodbus/framer/socket_framer.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def decode_data(self, data):
}
return {}

async def frameProcessIncomingPacket(
async def frameProcessIncomingPacket( # noqa: C901
self, single, callback, slave, tid=None, **kwargs
):
"""Process new packet pattern.
Expand Down

0 comments on commit 46e1932

Please sign in to comment.