Nitty comment fixes.
Corrected grammar, misspellings, line length, and some
Args: section fixes.
BUG=None
TEST=None
Change-Id: Ia697742e85534034d96e96eafbd51476ba4f3e0e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3962677
Auto-Submit: Alex Klein <saklein@chromium.org>
Commit-Queue: Sloan Johnson <sloanjohnson@google.com>
Reviewed-by: Sloan Johnson <sloanjohnson@google.com>
Tested-by: Alex Klein <saklein@chromium.org>
Commit-Queue: Alex Klein <saklein@chromium.org>
diff --git a/api/compile_build_api_proto.py b/api/compile_build_api_proto.py
index cc4657b..ffc2605 100644
--- a/api/compile_build_api_proto.py
+++ b/api/compile_build_api_proto.py
@@ -265,13 +265,13 @@
):
"""Compile the Build API protobuf files.
- By default this will compile from infra/proto/src to api/gen. The output
+ By default, this will compile from infra/proto/src to api/gen. The output
directory may be changed, but the imports will always be treated as if it is
in the default location.
Args:
output: The output directory.
- protoc_version: Which protoc to use for the compile.
+ protoc_version: Which protoc to use for the compilation.
dir_subset: What proto to compile.
postprocess: Whether to run the postprocess step.
"""
@@ -398,7 +398,7 @@
if ProtocVersion.SDK in opts.protoc_version:
# Compile the SDK bindings.
if not cros_build_lib.IsInsideChroot():
- # Rerun inside of the SDK instead of trying to map all of the paths.
+ # Rerun inside the SDK instead of trying to map all the paths.
cmd = [
(
Path(constants.CHROOT_SOURCE_ROOT)