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/sysroot.py b/api/controller/sysroot.py
index 0cd8b0b..0d0ede3 100644
--- a/api/controller/sysroot.py
+++ b/api/controller/sysroot.py
@@ -34,8 +34,8 @@
"""Get goma's log directory based on the env variables.
Returns:
- a string of a directory name where goma's log may exist, or None if no
- potential directories exist.
+ a string of a directory name where goma's log may exist, or None if no
+ potential directories exist.
"""
# TODO(crbug.com/1045001): Replace environment variable with query to
# goma object after goma refactoring allows this.
@@ -104,14 +104,14 @@
paths to the desired files.
Args:
- in_proto: Proto request defining reqs.
- chroot: The chroot class used for these artifacts.
- sysroot_class: The sysroot class used for these artifacts.
- build_target: The build target used for these artifacts.
- output_dir: The path to write artifacts to.
+ in_proto: Proto request defining reqs.
+ chroot: The chroot class used for these artifacts.
+ sysroot_class: The sysroot class used for these artifacts.
+ build_target: The build target used for these artifacts.
+ output_dir: The path to write artifacts to.
Returns:
- A list of dictionary mappings of ArtifactType to list of paths.
+ A list of dictionary mappings of ArtifactType to list of paths.
"""
generated = []
artifact_types = {