Skip to content

Commit

Permalink
Re-add ignore type check for return value when no response is expected
Browse files Browse the repository at this point in the history
  • Loading branch information
matesh committed Oct 15, 2024
1 parent 15cf33f commit 1ffe25a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymodbus/client/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async def async_execute(self, request) -> ModbusResponse:
f"ERROR: No response received after {self.retries} retries"
)

return resp
return resp # type: ignore[return-value]

def build_response(self, request: ModbusPDU):
"""Return a deferred response for the current request.
Expand Down

0 comments on commit 1ffe25a

Please sign in to comment.