Skip to content

Commit 65ea984

Browse files
author
Ed Hagerty
committed
trying to correctly set up pre-commit
1 parent 88787e6 commit 65ea984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ def mqtt_msg(self, msg_size: int) -> None:
267267
if msg_size < MQTT_MSG_MAX_SZ:
268268
self._msg_size_lim = msg_size
269269

270+
# pylint: disable=too-many-branches, too-many-statements
270271
def will_set(
271272
self,
272273
topic: str,
@@ -337,7 +338,6 @@ def will_set(
337338
self._lw_retain = retain
338339
self.logger.debug("Last will properties successfully set")
339340

340-
341341
def add_topic_callback(self, mqtt_topic: str, callback_method) -> None:
342342
"""Registers a callback_method for a specific MQTT topic.
343343

0 commit comments

Comments
 (0)