Skip to content

Commit

Permalink
py: style
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Feb 17, 2025
1 parent a8cf8d4 commit 1464819
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions py/miniconf-mqtt/miniconf/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
if __name__ == "__main__":
import asyncio
from .async_ import _main
"""Miniconf default CLI (async)"""

import asyncio
from .async_ import _main

if __name__ == "__main__":
asyncio.run(_main())
1 change: 0 additions & 1 deletion py/miniconf-mqtt/miniconf/async_.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import uuid
from typing import Dict, Any

import paho.mqtt
from paho.mqtt.properties import Properties, PacketTypes
from aiomqtt import Client, Message, MqttError

Expand Down
5 changes: 4 additions & 1 deletion py/miniconf-mqtt/miniconf/common.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
"""Common code for miniconf.async_ and miniconf.sync"""

# pylint: disable=R0801,C0415,W1203,R0903,W0707

from typing import Dict, Any
import logging

import paho.mqtt
from aiomqtt import Client

MQTTv5 = paho.mqtt.enums.MQTTProtocolVersion.MQTTv5

Expand Down

0 comments on commit 1464819

Please sign in to comment.