api: Conform to `cros lint'

Fix formatting issues that cause pylint to complain and preupload hooks
to fail.

BUG=none
TEST=for f in $(find . -path "./gen*" -prune -o -iname "*.py" -print);
do cros lint $f; done
TEST=unit, just for comfort of confirmation

Change-Id: Id770ca57a96c6691b8dce22f019f2f95d7eb2a49
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3277512
Auto-Submit: Lizzy Presland <zland@google.com>
Commit-Queue: Lizzy Presland <zland@google.com>
Tested-by: Lizzy Presland <zland@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/api/controller/sysroot.py b/api/controller/sysroot.py
index ec89c34..9057f38 100644
--- a/api/controller/sysroot.py
+++ b/api/controller/sysroot.py
@@ -33,7 +33,7 @@
   uabs = common_pb2.UploadedArtifactsByService
   cabs = common_pb2.ArtifactsByService
   return uabs.Sysroot(artifacts=[
-     uabs.Sysroot.ArtifactPaths(
+      uabs.Sysroot.ArtifactPaths(
           artifact_type=cabs.Sysroot.ArtifactType.SIMPLE_CHROME_SYSROOT,
           paths=[
               common_pb2.Path(
@@ -59,8 +59,9 @@
 
 
 def GetArtifacts(in_proto: common_pb2.ArtifactsByService.Sysroot,
-        chroot: chroot_lib.Chroot, sysroot_class: sysroot_lib.Sysroot,
-        build_target: build_target_lib.BuildTarget, output_dir: str) -> list:
+                 chroot: chroot_lib.Chroot, sysroot_class: sysroot_lib.Sysroot,
+                 build_target: build_target_lib.BuildTarget, output_dir: str
+                 ) -> list:
   """Builds and copies sysroot artifacts to specified output_dir.
 
   Copies sysroot artifacts to output_dir, returning a list of (output_dir: str)
@@ -78,11 +79,12 @@
   """
   generated = []
   artifact_types = {
-    in_proto.ArtifactType.SIMPLE_CHROME_SYSROOT:
-        sysroot.CreateSimpleChromeSysroot,
-    in_proto.ArtifactType.CHROME_EBUILD_ENV: sysroot.CreateChromeEbuildEnv,
-    in_proto.ArtifactType.BREAKPAD_DEBUG_SYMBOLS: sysroot.BundleBreakpadSymbols,
-    in_proto.ArtifactType.DEBUG_SYMBOLS: sysroot.BundleDebugSymbols,
+      in_proto.ArtifactType.SIMPLE_CHROME_SYSROOT:
+          sysroot.CreateSimpleChromeSysroot,
+      in_proto.ArtifactType.CHROME_EBUILD_ENV: sysroot.CreateChromeEbuildEnv,
+      in_proto.ArtifactType.BREAKPAD_DEBUG_SYMBOLS:
+          sysroot.BundleBreakpadSymbols,
+      in_proto.ArtifactType.DEBUG_SYMBOLS: sysroot.BundleDebugSymbols,
   }
 
   for output_artifact in in_proto.output_artifacts: