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/run_chroot_version_hooks.py b/scripts/run_chroot_version_hooks.py
index 4737a28..1b9eb10 100644
--- a/scripts/run_chroot_version_hooks.py
+++ b/scripts/run_chroot_version_hooks.py
@@ -17,36 +17,40 @@
 
 
 def GetParser():
-  """Build the ArgumentParser."""
-  parser = commandline.ArgumentParser(description=__doc__)
-  parser.add_argument('-i', '--init-latest',
-                      action='store_true', default=False,
-                      help='Create the version file with the latest version '
-                           "if it doesn't exist.")
+    """Build the ArgumentParser."""
+    parser = commandline.ArgumentParser(description=__doc__)
+    parser.add_argument(
+        "-i",
+        "--init-latest",
+        action="store_true",
+        default=False,
+        help="Create the version file with the latest version "
+        "if it doesn't exist.",
+    )
 
-  return parser
+    return parser
 
 
 def _ParseArgs(argv):
-  """Parse arguments."""
-  parser = GetParser()
+    """Parse arguments."""
+    parser = GetParser()
 
-  opts = parser.parse_args(argv)
-  opts.Freeze()
+    opts = parser.parse_args(argv)
+    opts.Freeze()
 
-  return opts
+    return opts
 
 
 def main(argv):
-  """Main function."""
-  cros_build_lib.AssertInsideChroot()
+    """Main function."""
+    cros_build_lib.AssertInsideChroot()
 
-  opts = _ParseArgs(argv)
+    opts = _ParseArgs(argv)
 
-  if opts.init_latest:
-    cros_sdk_lib.InitLatestVersion()
-  else:
-    try:
-      cros_sdk_lib.RunChrootVersionHooks()
-    except cros_sdk_lib.Error as e:
-      cros_build_lib.Die(e)
+    if opts.init_latest:
+        cros_sdk_lib.InitLatestVersion()
+    else:
+        try:
+            cros_sdk_lib.RunChrootVersionHooks()
+        except cros_sdk_lib.Error as e:
+            cros_build_lib.Die(e)