Skip to content

Commit 1214d50

Browse files
author
Travis-L-R
committed
Linting adjustment for change to StreamInterface non-abstract use check
1 parent 76418b8 commit 1214d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meshtastic/stream_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__( # pylint: disable=R0917
4242
RuntimeError: Raised if StreamInterface is instantiated when noProto is false.
4343
"""
4444

45-
if not noProto and type(self) == StreamInterface:
45+
if not noProto and type(self) == StreamInterface: # pylint: disable=C0123
4646
raise RuntimeError(
4747
"StreamInterface is now abstract (to update existing code create SerialInterface instead)"
4848
)

0 commit comments

Comments
 (0)