Skip to content

Commit

Permalink
Correct Ruff Line Too Long Error
Browse files Browse the repository at this point in the history
Adjusted formatting to resolve the ruff E501 Error.
  • Loading branch information
ch4nsuk3 committed Nov 8, 2024
1 parent 0356eec commit 64638cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adafruit_minimqtt/adafruit_minimqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,8 +865,8 @@ def unsubscribe( # noqa: PLR0912, Too many branches
self._subscribed_topics.remove(t)
return
if op != MQTT_PUBLISH:
# [3.10.4] The Server may continue to deliver existing messages buffered for delivery
# to the client prior to sending the UNSUBACK Packet.
# [3.10.4] The Server may continue to deliver existing messages buffered
# for delivery to the client prior to sending the UNSUBACK Packet.
raise MMQTTException(
f"invalid message received as response to UNSUBSCRIBE: {hex(op)}"
)
Expand Down

0 comments on commit 64638cf

Please sign in to comment.