Skip to content

Commit 823b224

Browse files
committed
Shorten docstrings until they fit
Signed-off-by: Joe Friedrichsen <[email protected]>
1 parent 9f6c80a commit 823b224

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/nipanel/converters/builtin.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def protobuf_message(self) -> Type[python_panel_types_pb2.BoolCollection]:
135135
def to_protobuf_message(
136136
self, python_value: Collection[bool]
137137
) -> python_panel_types_pb2.BoolCollection:
138-
"""Convert the Python collection of bools to a protobuf python_panel_types_pb2.BoolCollection.""" # noqa: W505 - doc line too long
138+
"""Convert the collection of bools to python_panel_types_pb2.BoolCollection."""
139139
return self.protobuf_message(values=python_value)
140140

141141
def to_python_value(
@@ -163,7 +163,7 @@ def protobuf_message(self) -> Type[python_panel_types_pb2.ByteStringCollection]:
163163
def to_protobuf_message(
164164
self, python_value: Collection[bytes]
165165
) -> python_panel_types_pb2.ByteStringCollection:
166-
"""Convert the Python collection of byte strings to a protobuf python_panel_types_pb2.ByteStringCollection.""" # noqa: W505 - doc line too long
166+
"""Convert the collection of byte strings to python_panel_types_pb2.ByteStringCollection."""
167167
return self.protobuf_message(values=python_value)
168168

169169
def to_python_value(
@@ -191,7 +191,7 @@ def protobuf_message(self) -> Type[python_panel_types_pb2.FloatCollection]:
191191
def to_protobuf_message(
192192
self, python_value: Collection[float]
193193
) -> python_panel_types_pb2.FloatCollection:
194-
"""Convert the Python collection of floats to a protobuf python_panel_types_pb2.FloatCollection.""" # noqa: W505 - doc line too long
194+
"""Convert the collection of floats to python_panel_types_pb2.FloatCollection."""
195195
return self.protobuf_message(values=python_value)
196196

197197
def to_python_value(
@@ -217,7 +217,7 @@ def protobuf_message(self) -> Type[python_panel_types_pb2.IntCollection]:
217217
def to_protobuf_message(
218218
self, python_value: Collection[int]
219219
) -> python_panel_types_pb2.IntCollection:
220-
"""Convert the Python collection of integers to a protobuf python_panel_types_pb2.IntCollection.""" # noqa: W505 - doc line too long
220+
"""Convert the collection of integers to python_panel_types_pb2.IntCollection."""
221221
return self.protobuf_message(values=python_value)
222222

223223
def to_python_value(
@@ -243,7 +243,7 @@ def protobuf_message(self) -> Type[python_panel_types_pb2.StringCollection]:
243243
def to_protobuf_message(
244244
self, python_value: Collection[str]
245245
) -> python_panel_types_pb2.StringCollection:
246-
"""Convert the Python collection of strings to a protobuf python_panel_types_pb2.StringCollection.""" # noqa: W505 - doc line too long
246+
"""Convert the collection of strings to python_panel_types_pb2.StringCollection."""
247247
return self.protobuf_message(values=python_value)
248248

249249
def to_python_value(

0 commit comments

Comments
 (0)