cli: Lint fixes.
Fix line-too-long and docstring-section-indent errors.
BUG=b:233893248
TEST=cros lint
Change-Id: I043e40f5a65b2f48068446fb822ecb2f7daae689
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/4190170
Reviewed-by: Sloan Johnson <sloanjohnson@google.com>
Tested-by: Alex Klein <saklein@chromium.org>
Auto-Submit: Alex Klein <saklein@chromium.org>
Commit-Queue: Sloan Johnson <sloanjohnson@google.com>
diff --git a/cli/flash_unittest.py b/cli/flash_unittest.py
index 26a2e75..06a50df 100644
--- a/cli/flash_unittest.py
+++ b/cli/flash_unittest.py
@@ -143,7 +143,7 @@
)
def testUsbImagerOperationCalled(self):
- """Test that flash.UsbImagerOperation is called when log level <= NOTICE."""
+ """Test flash.UsbImagerOperation is called when log level <= NOTICE."""
expected_cmd = [
"dd",
"if=foo",
@@ -217,7 +217,7 @@
self.assertEqual(pid, expected_pid)
def testGetDDPidNotFound(self):
- """Check that -1 is returned for _GetDDPid() if the pids aren't valid."""
+ """Check -1 is returned for _GetDDPid() if the pids aren't valid."""
expected_pid = -1
op = flash.UsbImagerOperation("foo")
self.PatchObject(osutils, "IsChildProcess", return_value=False)
@@ -255,8 +255,8 @@
osutils.Touch(file_c)
osutils.Touch(os.path.join(self.tempdir, "d"))
- # Multiple images available, we should ask the user to select the right
- # image.
+ # Multiple images available, we should ask the user to select the
+ # right image.
with self.PatchObject(cros_build_lib, "GetChoice", return_value=2):
self.assertEqual(
file_c, flash._ChooseImageFromDirectory(self.tempdir)