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/dependency.py b/api/controller/dependency.py
index 39a4c99..51a731b 100644
--- a/api/controller/dependency.py
+++ b/api/controller/dependency.py
@@ -24,10 +24,10 @@
"""Augment package deps from |json_map| to graph object.
Args:
- json_map: the json object that stores the portage package. This is
- generated from chromite.lib.service.dependency.GetBuildDependency()
- graph: the proto object that represents the dependency graph (see DepGraph
- message in chromite/api/depgraph.proto)
+ json_map: the json object that stores the portage package. This is
+ generated from chromite.lib.service.dependency.GetBuildDependency()
+ graph: the proto object that represents the dependency graph (see DepGraph
+ message in chromite/api/depgraph.proto)
"""
graph.sysroot.build_target.name = json_map["target_board"]
graph.sysroot.path = json_map["sysroot_path"]
@@ -68,9 +68,9 @@
"""Create the build dependency graph.
Args:
- input_proto: The input arguments message.
- output_proto: The empty output message.
- _config: The API call config.
+ input_proto: The input arguments message.
+ output_proto: The empty output message.
+ _config: The API call config.
"""
if input_proto.HasField("sysroot"):
board = input_proto.sysroot.build_target.name
@@ -113,9 +113,9 @@
"""Get a list of package dependencies.
Args:
- input_proto: The input arguments message.
- output_proto: The empty output message.
- _config: The API call config.
+ input_proto: The input arguments message.
+ output_proto: The empty output message.
+ _config: The API call config.
"""
sysroot_path = input_proto.sysroot.path
src_paths = [src_path.path for src_path in input_proto.src_paths]