scripts: reformat files that trigger the line-too-long lint.
Candidate files were found with `cros lint` and they were then
formatted with `pyformat --indent_size=4` (pyink), and again by
./chromite/scripts/black (which doesn't wrap comments).
Some questionable wrappings were fixed by hand.
BUG=b:233893248
TEST=CQ
Change-Id: I9effdd9469674610db76c213667cccf0dbc4d6c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/4520025
Commit-Queue: Trent Apted <tapted@chromium.org>
Tested-by: Trent Apted <tapted@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
diff --git a/scripts/upload_prebuilts_unittest.py b/scripts/upload_prebuilts_unittest.py
index 503cc99..e88cd87 100644
--- a/scripts/upload_prebuilts_unittest.py
+++ b/scripts/upload_prebuilts_unittest.py
@@ -67,10 +67,9 @@
)
expected = {
self._local_path: self._gs_bucket_path + "/public1.tbz2",
- self._local_path.replace(
- ".tbz2", ".debug.tbz2"
- ): self._gs_bucket_path
- + "/public1.debug.tbz2",
+ self._local_path.replace(".tbz2", ".debug.tbz2"): (
+ self._gs_bucket_path + "/public1.debug.tbz2"
+ ),
}
self.assertEqual(result, expected)