Skip to content

Commit 620a3cd

Browse files
committed
(fixup) Suppress docstring too long errors 🙄
Signed-off-by: Joe Friedrichsen <[email protected]>
1 parent ae373d9 commit 620a3cd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/nipanel/_converters.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def protobuf_message(self) -> Type[python_panel_types_pb2.BoolCollection]:
185185
def to_protobuf_message(
186186
self, python_value: Collection[bool]
187187
) -> python_panel_types_pb2.BoolCollection:
188-
"""Convert the Python collection of bools to a protobuf python_panel_types_pb2.BoolCollection."""
188+
"""Convert the Python collection of bools to a protobuf python_panel_types_pb2.BoolCollection.""" # noqa: W505 - doc line too long
189189
return self.protobuf_message(values=python_value)
190190

191191
def to_python_value(
@@ -213,7 +213,7 @@ def protobuf_message(self) -> Type[python_panel_types_pb2.ByteStringCollection]:
213213
def to_protobuf_message(
214214
self, python_value: Collection[bytes]
215215
) -> python_panel_types_pb2.ByteStringCollection:
216-
"""Convert the Python collection of byte strings to a protobuf python_panel_types_pb2.ByteStringCollection."""
216+
"""Convert the Python collection of byte strings to a protobuf python_panel_types_pb2.ByteStringCollection.""" # noqa: W505 - doc line too long
217217
return self.protobuf_message(values=python_value)
218218

219219
def to_python_value(
@@ -241,7 +241,7 @@ def protobuf_message(self) -> Type[python_panel_types_pb2.FloatCollection]:
241241
def to_protobuf_message(
242242
self, python_value: Collection[float]
243243
) -> python_panel_types_pb2.FloatCollection:
244-
"""Convert the Python collection of floats to a protobuf python_panel_types_pb2.FloatCollection."""
244+
"""Convert the Python collection of floats to a protobuf python_panel_types_pb2.FloatCollection.""" # noqa: W505 - doc line too long
245245
return self.protobuf_message(values=python_value)
246246

247247
def to_python_value(
@@ -267,7 +267,7 @@ def protobuf_message(self) -> Type[python_panel_types_pb2.IntCollection]:
267267
def to_protobuf_message(
268268
self, python_value: Collection[int]
269269
) -> python_panel_types_pb2.IntCollection:
270-
"""Convert the Python collection of integers to a protobuf python_panel_types_pb2.IntCollection."""
270+
"""Convert the Python collection of integers to a protobuf python_panel_types_pb2.IntCollection.""" # noqa: W505 - doc line too long
271271
return self.protobuf_message(values=python_value)
272272

273273
def to_python_value(
@@ -293,7 +293,7 @@ def protobuf_message(self) -> Type[python_panel_types_pb2.StringCollection]:
293293
def to_protobuf_message(
294294
self, python_value: Collection[str]
295295
) -> python_panel_types_pb2.StringCollection:
296-
"""Convert the Python collection of strings to a protobuf python_panel_types_pb2.StringCollection."""
296+
"""Convert the Python collection of strings to a protobuf python_panel_types_pb2.StringCollection.""" # noqa: W505 - doc line too long
297297
return self.protobuf_message(values=python_value)
298298

299299
def to_python_value(

0 commit comments

Comments
 (0)