chromite: shorten, or suppress, slightly overlong pydoc summary lines.
Where it was easy to take a word out, do that. Otherwise suppress.
To avoid --no-verify, remove "(optional)" from pydoc in
cbuildbot/commands.py because it triggers the lint,
`docstring-deprecated-annotations`.
Address some stragglers that have crept in since these CLs were first
made.
BUG=b:233893248
TEST=cros lint + CQ
Change-Id: If0e48e6a7b0a5cfe3668854ec58b6665724ca215
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/4560885
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 d79d9bd..59e14e7 100644
--- a/scripts/upload_prebuilts_unittest.py
+++ b/scripts/upload_prebuilts_unittest.py
@@ -203,7 +203,7 @@
self.assertAllDuplicates([self.expected_pkgindex, self.dup])
def testCanonicalUrl(self):
- """If the URL is in a different format, we should still find duplicates."""
+ """If the URL is in a different format, should still find duplicates."""
self.dup.header["URI"] = gs.PUBLIC_BASE_HTTPS_URL + "example"
self.assertAllDuplicates([self.dup])
@@ -225,7 +225,7 @@
)
def testSymbolsAvailable(self):
- """If symbols are available remotely, re-use them and set DEBUG_SYMBOLS."""
+ """If symbols are available remotely: re-use them, set DEBUG_SYMBOLS."""
self.dup.packages[0]["DEBUG_SYMBOLS"] = "yes"
uploads = self.pkgindex.ResolveDuplicateUploads([self.dup])