Skip to content

Commit 99587f0

Browse files
committed
use black
1 parent e35bf21 commit 99587f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/mqtt_handler.py

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"""
44

55
import adafruit_minimqtt.adafruit_minimqtt as MQTT
6+
67
# adafruit_logging defines log levels dynamically.
78
# pylint: disable=no-name-in-module
89
from adafruit_logging import NOTSET, Handler, LogRecord
@@ -12,6 +13,7 @@ class MQTTHandler(Handler):
1213
"""
1314
Log handler that emits log records as MQTT PUBLISH messages.
1415
"""
16+
1517
def __init__(self, mqtt_client: MQTT.MQTT, topic: str) -> None:
1618
"""
1719
Assumes that the MQTT client object is already connected.

0 commit comments

Comments
 (0)