mirror of
https://github.com/meshtastic/python.git
synced 2026-06-03 13:19:44 -04:00
Linting adjustment for change to StreamInterface non-abstract use check
This commit is contained in:
@@ -42,7 +42,7 @@ class StreamInterface(MeshInterface):
|
||||
RuntimeError: Raised if StreamInterface is instantiated when noProto is false.
|
||||
"""
|
||||
|
||||
if not noProto and type(self) == StreamInterface:
|
||||
if not noProto and type(self) == StreamInterface: # pylint: disable=C0123
|
||||
raise RuntimeError(
|
||||
"StreamInterface is now abstract (to update existing code create SerialInterface instead)"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user