api: controller: Lint fixes.
Fix line-too-long and docstring-section-indent errors.
BUG=b:233893248
TEST=cros lint
Change-Id: I52ac19eb3a38066d4d09d56d27d61c904269a0e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/4190794
Tested-by: Alex Klein <saklein@chromium.org>
Commit-Queue: Alex Klein <saklein@chromium.org>
Auto-Submit: Alex Klein <saklein@chromium.org>
Reviewed-by: Cindy Lin <xcl@google.com>
diff --git a/api/controller/test.py b/api/controller/test.py
index 1737c10..4231558 100644
--- a/api/controller/test.py
+++ b/api/controller/test.py
@@ -224,7 +224,7 @@
output_proto: test_pb2.BuildTestServiceContainersResponse,
_config,
):
- """Builds docker containers for all test services and pushes them to gcr.io"""
+ """Build docker containers for all test services and push them to gcr.io."""
build_target = controller_util.ParseBuildTarget(input_proto.build_target)
chroot = controller_util.ParseChroot(input_proto.chroot)
sysroot = sysroot_lib.Sysroot(build_target.root)
@@ -293,8 +293,8 @@
if result_file in file:
output_path = os.path.join(tempdir, file)
- # build-dockerimages.py will append the service name to outputfile
- # with an underscore.
+ # build-dockerimages.py will append the service name to
+ # outputfile with an underscore.
human_name = file.split("_")[-1]
result = test_pb2.TestServiceContainerBuildResult()