Formatting: Format all python code with black.

This CL is probably not what you're looking for, it's only
automated formatting. Ignore it with
`git blame --ignore-rev <revision>` for this commit.

BUG=b:233893248
TEST=CQ

Change-Id: I66591d7a738d241aed3290138c0f68065ab10a6d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3879174
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Alex Klein <saklein@chromium.org>
diff --git a/scripts/build_minios.py b/scripts/build_minios.py
index 966a811..8529c62 100644
--- a/scripts/build_minios.py
+++ b/scripts/build_minios.py
@@ -15,49 +15,80 @@
 
 
 def GetParser():
-  """Creates an argument parser and returns it."""
-  parser = commandline.ArgumentParser(description=__doc__)
-  parser.add_argument('--board', '-b', '--build-target', required=True,
-                      help='The board name.')
-  parser.add_argument('--version', required=True,
-                      help='The chromeos version string.')
-  parser.add_argument('--image', type='path', required=True,
-                      help='The path to the chromium os image.')
-  parser.add_argument('--keys-dir', type='path',
-                      help='The path to keyset.',
-                      default=constants.VBOOT_DEVKEYS_DIR)
-  parser.add_argument('--public-key',
-                      help='Filename to the public key whose private part '
-                      'signed the keyblock.',
-                      default=constants.RECOVERY_PUBLIC_KEY)
-  parser.add_argument('--private-key',
-                      help='Filename to the private key whose public part is '
-                      'baked into the keyblock.',
-                      default=constants.MINIOS_DATA_PRIVATE_KEY)
-  parser.add_argument('--keyblock',
-                      help='Filename to the kernel keyblock.',
-                      default=constants.MINIOS_KEYBLOCK)
-  parser.add_argument('--serial', type=str,
-                      help='Serial port for the kernel console (e.g. printks)')
-  parser.add_argument('--mod-for-dev', action='store_true',
-                      help='Repack the MiniOS image with debug flags.')
-  parser.add_argument('--force-build', action='store_true',
-                      help='Force the kernel to be rebuilt when repacking with '
-                      'debug flags. Use with --mod-for-dev in case kernel is '
-                      'not already built or needs to be rebuilt.')
-  return parser
+    """Creates an argument parser and returns it."""
+    parser = commandline.ArgumentParser(description=__doc__)
+    parser.add_argument(
+        "--board", "-b", "--build-target", required=True, help="The board name."
+    )
+    parser.add_argument(
+        "--version", required=True, help="The chromeos version string."
+    )
+    parser.add_argument(
+        "--image",
+        type="path",
+        required=True,
+        help="The path to the chromium os image.",
+    )
+    parser.add_argument(
+        "--keys-dir",
+        type="path",
+        help="The path to keyset.",
+        default=constants.VBOOT_DEVKEYS_DIR,
+    )
+    parser.add_argument(
+        "--public-key",
+        help="Filename to the public key whose private part "
+        "signed the keyblock.",
+        default=constants.RECOVERY_PUBLIC_KEY,
+    )
+    parser.add_argument(
+        "--private-key",
+        help="Filename to the private key whose public part is "
+        "baked into the keyblock.",
+        default=constants.MINIOS_DATA_PRIVATE_KEY,
+    )
+    parser.add_argument(
+        "--keyblock",
+        help="Filename to the kernel keyblock.",
+        default=constants.MINIOS_KEYBLOCK,
+    )
+    parser.add_argument(
+        "--serial",
+        type=str,
+        help="Serial port for the kernel console (e.g. printks)",
+    )
+    parser.add_argument(
+        "--mod-for-dev",
+        action="store_true",
+        help="Repack the MiniOS image with debug flags.",
+    )
+    parser.add_argument(
+        "--force-build",
+        action="store_true",
+        help="Force the kernel to be rebuilt when repacking with "
+        "debug flags. Use with --mod-for-dev in case kernel is "
+        "not already built or needs to be rebuilt.",
+    )
+    return parser
 
 
 def main(argv):
-  parser = GetParser()
-  opts = parser.parse_args(argv)
-  opts.Freeze()
+    parser = GetParser()
+    opts = parser.parse_args(argv)
+    opts.Freeze()
 
-  with tempfile.TemporaryDirectory() as work_dir:
-    build_kernel = opts.force_build if opts.mod_for_dev else True
-    kernel = minios.CreateMiniOsKernelImage(opts.board, opts.version, work_dir,
-                                            opts.keys_dir, opts.public_key,
-                                            opts.private_key, opts.keyblock,
-                                            opts.serial, build_kernel,
-                                            opts.mod_for_dev)
-    minios.InsertMiniOsKernelImage(opts.image, kernel)
+    with tempfile.TemporaryDirectory() as work_dir:
+        build_kernel = opts.force_build if opts.mod_for_dev else True
+        kernel = minios.CreateMiniOsKernelImage(
+            opts.board,
+            opts.version,
+            work_dir,
+            opts.keys_dir,
+            opts.public_key,
+            opts.private_key,
+            opts.keyblock,
+            opts.serial,
+            build_kernel,
+            opts.mod_for_dev,
+        )
+        minios.InsertMiniOsKernelImage(opts.image, kernel)