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/payload.py b/api/controller/payload.py
index 4ca6870..545168c 100644
--- a/api/controller/payload.py
+++ b/api/controller/payload.py
@@ -51,12 +51,12 @@
"""Generate a update payload ('do paygen').
Args:
- input_proto: Input proto.
- output_proto: Output proto.
- config: The API call config.
+ input_proto: Input proto.
+ output_proto: Output proto.
+ config: The API call config.
Returns:
- A controller return code (e.g. controller.RETURN_CODE_SUCCESS).
+ A controller return code (e.g. controller.RETURN_CODE_SUCCESS).
"""
# Resolve the tgt image oneof.
@@ -138,9 +138,9 @@
"""Set the output proto with the results from the service class.
Args:
- output_proto: The output proto.
- local_path: set output_proto with the local path, or ''.
- remote_uri: set output_proto with the remote uri, or ''.
+ output_proto: The output proto.
+ local_path: set output_proto with the local path, or ''.
+ remote_uri: set output_proto with the remote uri, or ''.
"""
output_proto.success = True
output_proto.local_path = local_path or ""