Skip to content

Commit 6e7933a

Browse files
committed
Fix my own pylint mistakes
1 parent f449ff9 commit 6e7933a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

meshtastic/mesh_interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
import time
1111
from datetime import datetime
1212

13+
from typing import Any, Callable, Dict, List, Optional, Union
14+
1315
import google.protobuf.json_format
1416
import timeago # type: ignore[import-untyped]
1517
from pubsub import pub # type: ignore[import-untyped]
@@ -37,8 +39,6 @@
3739
message_to_json,
3840
)
3941

40-
from typing import Any, Callable, Dict, List, Optional, Union
41-
4242

4343
class MeshInterface:
4444
"""Interface class for meshtastic devices

meshtastic/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import logging
66
import time
77

8-
from typing import Optional, Union
8+
from typing import Union
99

1010
from meshtastic import admin_pb2, apponly_pb2, channel_pb2, localonly_pb2, portnums_pb2
1111
from meshtastic.util import (

meshtastic/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
import time
1212
import traceback
1313
from queue import Queue
14+
from typing import Union
15+
1416
from google.protobuf.json_format import MessageToJson
1517

1618
import packaging.version as pkg_version
@@ -21,8 +23,6 @@
2123
from meshtastic.supported_device import supported_devices
2224
from meshtastic.version import get_active_version
2325

24-
from typing import Union
25-
2626
"""Some devices such as a seger jlink we never want to accidentally open"""
2727
blacklistVids = dict.fromkeys([0x1366])
2828

0 commit comments

Comments
 (0)