mirror of
https://github.com/meshtastic/python.git
synced 2026-09-14 14:28:24 -04:00
Linting adjustment for change to StreamInterface non-abstract use check
This commit is contained in:
1 parent
76418b8e57
commit
1214d5010b
1 file changed
+1
-1
@@ -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