api: Fix docstring-section-indent errors
Fix docstring-section-indent errors and resulting line-too-long
errors, but not other existing line-too-long errors.
BUG=b:233893248
TEST=cros lint
Change-Id: I552ce489aaabce6e6600e2518385569ce59b134e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3947314
Reviewed-by: Gilberto Contreras <gcontreras@google.com>
Tested-by: Alex Klein <saklein@chromium.org>
Auto-Submit: Alex Klein <saklein@chromium.org>
Commit-Queue: Gilberto Contreras <gcontreras@google.com>
diff --git a/api/controller/observability.py b/api/controller/observability.py
index 0f97d16..87239dd 100644
--- a/api/controller/observability.py
+++ b/api/controller/observability.py
@@ -41,9 +41,9 @@
"""Kick off data reshaping and retrieval for ImageSize dataset.
Args:
- input_proto: The data provided by the request.
- output_proto: The resulting output message.
- config: The config provided with the API call.
+ input_proto: The data provided by the request.
+ output_proto: The resulting output message.
+ _config: The config provided with the API call.
"""
reshaped_input = {}
for image in input_proto.built_images:
@@ -69,9 +69,10 @@
"""Convert package size data to equivalent proto format.
Args:
- image_type: The string representation of the type of image (base, dev, test)
- package_sizes: The structured Python dict of partition:(PackageId:size)
- output_proto: The proto to insert structured data into
+ image_type: The string representation of the type of image
+ (base, dev, test).
+ package_sizes: The structured Python dict of partition:(PackageId:size)
+ output_proto: The proto to insert structured data into
"""
image_data_proto = output_proto.image_data.add()
image_data_proto.image_type = _IMAGE_MAPPING[image_type]
@@ -103,11 +104,11 @@
"""Convert PackageIdentifier named tuple to PackageIdentifier protocol buffer.
Args:
- python_copy: The named tuple version of PackageIdentifier.
- proto_copy: The protobuf version of PackageIdentifier.
+ python_copy: The named tuple version of PackageIdentifier.
+ proto_copy: The protobuf version of PackageIdentifier.
Returns:
- None
+ None
"""
proto_copy.package_name.atom = python_copy.package_name.atom
proto_copy.package_name.category = python_copy.package_name.category