Linting adjustment for change to StreamInterface non-abstract use check

This commit is contained in:
Travis-L-R
2025-11-13 07:38:25 +10:30
parent 76418b8e57
commit 1214d5010b

View File

@@ -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)"
)