scripts: reformat files tripping docstring-section-indent
This is done with a patch to the "pyformat" tool, which also
improves some handling of long string literals in a way that
is compatible with Black.
BUG=b:233893248
TEST=cros lint + CQ
Change-Id: Iafd4a27f4843927f2881f48002c29401e37a6790
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/4564454
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Tested-by: Trent Apted <tapted@chromium.org>
Commit-Queue: Trent Apted <tapted@chromium.org>
diff --git a/scripts/cros_generate_sysroot.py b/scripts/cros_generate_sysroot.py
index f5a2b3c..37b82ce 100644
--- a/scripts/cros_generate_sysroot.py
+++ b/scripts/cros_generate_sysroot.py
@@ -50,7 +50,7 @@
parser.add_argument(
"--out-file",
default=DEFAULT_NAME,
- help="The name to give to the tarball. " "Defaults to %(default)s.",
+ help="The name to give to the tarball. Defaults to %(default)s.",
)
options = parser.parse_args(argv)
@@ -70,8 +70,8 @@
"""Initialize
Args:
- sysroot: Path to sysroot.
- options: Parsed options.
+ sysroot: Path to sysroot.
+ options: Parsed options.
"""
self.sysroot = sysroot
self.options = options