pw_package: Format with black

Bug: b/259595799
Change-Id: Ieb49f60bfe5d7e22e8a2442133ad45bee71eb732
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/121810
Reviewed-by: Armando Montanez <amontanez@google.com>
Commit-Queue: Rob Mohr <mohrr@google.com>
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
diff --git a/pw_package/py/pw_package/git_repo.py b/pw_package/py/pw_package/git_repo.py
index 00a73d7..35a6d8d 100644
--- a/pw_package/py/pw_package/git_repo.py
+++ b/pw_package/py/pw_package/git_repo.py
@@ -25,29 +25,31 @@
 PathOrStr = Union[pathlib.Path, str]
 
 
-def git_stdout(*args: PathOrStr,
-               show_stderr=False,
-               repo: PathOrStr = '.') -> str:
-    return subprocess.run(['git', '-C', repo, *args],
-                          stdout=subprocess.PIPE,
-                          stderr=None if show_stderr else subprocess.DEVNULL,
-                          check=True).stdout.decode().strip()
+def git_stdout(
+    *args: PathOrStr, show_stderr=False, repo: PathOrStr = '.'
+) -> str:
+    return (
+        subprocess.run(
+            ['git', '-C', repo, *args],
+            stdout=subprocess.PIPE,
+            stderr=None if show_stderr else subprocess.DEVNULL,
+            check=True,
+        )
+        .stdout.decode()
+        .strip()
+    )
 
 
-def git(*args: PathOrStr,
-        repo: PathOrStr = '.') -> subprocess.CompletedProcess:
+def git(*args: PathOrStr, repo: PathOrStr = '.') -> subprocess.CompletedProcess:
     return subprocess.run(['git', '-C', repo, *args], check=True)
 
 
 class GitRepo(pw_package.package_manager.Package):
     """Install and check status of Git repository-based packages."""
-    def __init__(self,
-                 url,
-                 *args,
-                 commit='',
-                 tag='',
-                 sparse_list=None,
-                 **kwargs):
+
+    def __init__(
+        self, url, *args, commit='', tag='', sparse_list=None, **kwargs
+    ):
         super().__init__(*args, **kwargs)
         if not (commit or tag):
             raise ValueError('git repo must specify a commit or tag')
@@ -113,8 +115,7 @@
             git('clone', '--filter=blob:none', self._url, path)
             git('reset', '--hard', self._commit, repo=path)
         elif self._tag:
-            git('clone', '-b', self._tag, '--filter=blob:none', self._url,
-                path)
+            git('clone', '-b', self._tag, '--filter=blob:none', self._url, path)
 
     def checkout_sparse(self, path: pathlib.Path) -> None:
         # sparse checkout
@@ -132,6 +133,9 @@
         git('pull', '--depth=1', 'origin', target, repo=path)
 
     def check_sparse_list(self, path: pathlib.Path) -> bool:
-        sparse_list = git_stdout('sparse-checkout', 'list',
-                                 repo=path).strip('\n').splitlines()
+        sparse_list = (
+            git_stdout('sparse-checkout', 'list', repo=path)
+            .strip('\n')
+            .splitlines()
+        )
         return set(sparse_list) == set(self._sparse_list)
diff --git a/pw_package/py/pw_package/package_manager.py b/pw_package/py/pw_package/package_manager.py
index e5eb31d..98b4fad 100644
--- a/pw_package/py/pw_package/package_manager.py
+++ b/pw_package/py/pw_package/package_manager.py
@@ -29,6 +29,7 @@
 
     Subclass this to implement installation of a specific package.
     """
+
     def __init__(self, name):
         self._name = name
 
@@ -36,7 +37,9 @@
     def name(self):
         return self._name
 
-    def install(self, path: pathlib.Path) -> None:  # pylint: disable=no-self-use
+    def install(
+        self, path: pathlib.Path
+    ) -> None:  # pylint: disable=no-self-use
         """Install the package at path.
 
         Install the package in path. Cannot assume this directory is empty—it
@@ -59,7 +62,9 @@
         This method will be skipped if the directory does not exist.
         """
 
-    def info(self, path: pathlib.Path) -> Sequence[str]:  # pylint: disable=no-self-use
+    def info(
+        self, path: pathlib.Path
+    ) -> Sequence[str]:  # pylint: disable=no-self-use
         """Returns a short string explaining how to enable the package."""
 
 
@@ -80,6 +85,7 @@
 
 class PackageManager:
     """Install and remove optional packages."""
+
     def __init__(self, root: pathlib.Path):
         self._pkg_root = root
         os.makedirs(root, exist_ok=True)
@@ -122,6 +128,7 @@
 
 class PackageManagerCLI:
     """Command-line interface to PackageManager."""
+
     def __init__(self):
         self._mgr: PackageManager = None
 
diff --git a/pw_package/py/pw_package/packages/arduino_core.py b/pw_package/py/pw_package/packages/arduino_core.py
index c630c93..ecbbfe4 100644
--- a/pw_package/py/pw_package/packages/arduino_core.py
+++ b/pw_package/py/pw_package/packages/arduino_core.py
@@ -30,6 +30,7 @@
 
 class ArduinoCore(pw_package.package_manager.Package):
     """Install and check status of arduino cores."""
+
     def __init__(self, core_name, *args, **kwargs):
         super().__init__(*args, name=core_name, **kwargs)
 
@@ -49,8 +50,9 @@
 
         # Check if teensy cipd package is readable
 
-        with tempfile.NamedTemporaryFile(prefix='cipd',
-                                         delete=True) as temp_json:
+        with tempfile.NamedTemporaryFile(
+            prefix='cipd', delete=True
+        ) as temp_json:
             cipd_acl_check_command = [
                 "cipd",
                 "acl-check",
@@ -67,18 +69,26 @@
         def _run_command(command):
             _LOG.debug("Running: `%s`", " ".join(command))
             result = subprocess.run(command, capture_output=True)
-            _LOG.debug("Output:\n%s",
-                       result.stdout.decode() + result.stderr.decode())
+            _LOG.debug(
+                "Output:\n%s", result.stdout.decode() + result.stderr.decode()
+            )
 
         _run_command(["cipd", "init", "-force", core_cache_path.as_posix()])
-        _run_command([
-            "cipd", "install", cipd_package_subpath, "-root",
-            core_cache_path.as_posix(), "-force"
-        ])
+        _run_command(
+            [
+                "cipd",
+                "install",
+                cipd_package_subpath,
+                "-root",
+                core_cache_path.as_posix(),
+                "-force",
+            ]
+        )
 
         _LOG.debug(
             "Available Cache Files:\n%s",
-            "\n".join([p.as_posix() for p in core_cache_path.glob("*")]))
+            "\n".join([p.as_posix() for p in core_cache_path.glob("*")]),
+        )
 
     def install(self, path: Path) -> None:
         self.populate_download_cache_from_cipd(path)
@@ -86,8 +96,7 @@
         if self.status(path):
             return
         # Otherwise delete current version and reinstall
-        core_installer.install_core(path.parent.resolve().as_posix(),
-                                    self.name)
+        core_installer.install_core(path.parent.resolve().as_posix(), self.name)
 
     def info(self, path: Path) -> Sequence[str]:
         packages_root = path.parent.resolve()
@@ -102,18 +111,17 @@
         message_gn_args = [
             'Enable by running "gn args out" and adding these lines:',
             f'  pw_arduino_build_CORE_PATH = "{packages_root}"',
-            f'  pw_arduino_build_CORE_NAME = "{self.name}"'
+            f'  pw_arduino_build_CORE_NAME = "{self.name}"',
         ]
 
         # Search for first valid 'package/version' directory
         for hardware_dir in [
-                path for path in (path / 'hardware').iterdir()
-                if path.is_dir()
+            path for path in (path / 'hardware').iterdir() if path.is_dir()
         ]:
             if path.name in ["arduino", "tools"]:
                 continue
             for subdir in [
-                    path for path in hardware_dir.iterdir() if path.is_dir()
+                path for path in hardware_dir.iterdir() if path.is_dir()
             ]:
                 if subdir.name == 'avr' or re.match(r'[0-9.]+', subdir.name):
                     arduino_package_name = f'{hardware_dir.name}/{subdir.name}'
@@ -122,7 +130,7 @@
         if arduino_package_name:
             message_gn_args += [
                 f'  pw_arduino_build_PACKAGE_NAME = "{arduino_package_name}"',
-                '  pw_arduino_build_BOARD = "BOARD_NAME"'
+                '  pw_arduino_build_BOARD = "BOARD_NAME"',
             ]
             message += ["\n".join(message_gn_args)]
             message += [
@@ -131,11 +139,12 @@
                 'List available boards by running:\n'
                 '  arduino_builder '
                 f'--arduino-package-path {arduino_package_path} '
-                f'--arduino-package-name {arduino_package_name} list-boards'
+                f'--arduino-package-name {arduino_package_name} list-boards',
             ]
         return message
 
 
 for arduino_core_name in core_installer.supported_cores():
-    pw_package.package_manager.register(ArduinoCore,
-                                        core_name=arduino_core_name)
+    pw_package.package_manager.register(
+        ArduinoCore, core_name=arduino_core_name
+    )
diff --git a/pw_package/py/pw_package/packages/boringssl.py b/pw_package/py/pw_package/packages/boringssl.py
index f791ef0..6a79f47 100644
--- a/pw_package/py/pw_package/packages/boringssl.py
+++ b/pw_package/py/pw_package/packages/boringssl.py
@@ -27,15 +27,19 @@
 
 class BoringSSL(pw_package.package_manager.Package):
     """Install and check status of BoringSSL and chromium verifier."""
+
     def __init__(self, *args, **kwargs):
         super().__init__(*args, name='boringssl', **kwargs)
         self._boringssl = pw_package.git_repo.GitRepo(
             name='boringssl',
-            url=''.join([
-                'https://pigweed.googlesource.com',
-                '/third_party/boringssl/boringssl'
-            ]),
-            commit='9f55d972854d0b34dae39c7cd3679d6ada3dfd5b')
+            url=''.join(
+                [
+                    'https://pigweed.googlesource.com',
+                    '/third_party/boringssl/boringssl',
+                ]
+            ),
+            commit='9f55d972854d0b34dae39c7cd3679d6ada3dfd5b',
+        )
 
     def status(self, path: pathlib.Path) -> bool:
         if not self._boringssl.status(boringssl_repo_path(path)):
diff --git a/pw_package/py/pw_package/packages/chromium_verifier.py b/pw_package/py/pw_package/packages/chromium_verifier.py
index 4474a6d..864a00c 100644
--- a/pw_package/py/pw_package/packages/chromium_verifier.py
+++ b/pw_package/py/pw_package/packages/chromium_verifier.py
@@ -57,30 +57,35 @@
     'net/cert/internal/path_builder_unittest.cc',
 ]
 
-CHROMIUM_VERIFIER_SOURCES = CHROMIUM_VERIFIER_LIBRARY_SOURCES +\
-    CHROMIUM_VERIFIER_UNITTEST_SOURCES
+CHROMIUM_VERIFIER_SOURCES = (
+    CHROMIUM_VERIFIER_LIBRARY_SOURCES + CHROMIUM_VERIFIER_UNITTEST_SOURCES
+)
 
 
 def chromium_verifier_repo_path(
-        chromium_verifier_install: pathlib.Path) -> pathlib.Path:
+    chromium_verifier_install: pathlib.Path,
+) -> pathlib.Path:
     """Return the sub-path for repo checkout of chromium verifier"""
     return chromium_verifier_install / 'src'
 
 
 def chromium_third_party_boringssl_repo_path(
-        chromium_verifier_repo: pathlib.Path) -> pathlib.Path:
+    chromium_verifier_repo: pathlib.Path,
+) -> pathlib.Path:
     """Returns the path of third_party/boringssl library in chromium repo"""
     return chromium_verifier_repo / 'third_party' / 'boringssl' / 'src'
 
 
 def chromium_third_party_googletest_repo_path(
-        chromium_verifier_repo: pathlib.Path) -> pathlib.Path:
+    chromium_verifier_repo: pathlib.Path,
+) -> pathlib.Path:
     """Returns the path of third_party/googletest in chromium repo"""
     return chromium_verifier_repo / 'third_party' / 'googletest' / 'src'
 
 
 class ChromiumVerifier(pw_package.package_manager.Package):
     """Install and check status of Chromium Verifier"""
+
     def __init__(self, *args, **kwargs):
         super().__init__(*args, name='chromium_verifier', **kwargs)
         self._chromium_verifier = pw_package.git_repo.GitRepo(
@@ -96,25 +101,30 @@
 
         self._boringssl = pw_package.git_repo.GitRepo(
             name='boringssl',
-            url=''.join([
-                'https://pigweed.googlesource.com',
-                '/third_party/boringssl/boringssl'
-            ]),
+            url=''.join(
+                [
+                    'https://pigweed.googlesource.com',
+                    '/third_party/boringssl/boringssl',
+                ]
+            ),
             commit='9f55d972854d0b34dae39c7cd3679d6ada3dfd5b',
             sparse_list=['include'],
         )
 
         self._googletest = pw_package.git_repo.GitRepo(
             name='googletest',
-            url=''.join([
-                'https://chromium.googlesource.com/',
-                'external/github.com/google/googletest.git',
-            ]),
+            url=''.join(
+                [
+                    'https://chromium.googlesource.com/',
+                    'external/github.com/google/googletest.git',
+                ]
+            ),
             commit='53495a2a7d6ba7e0691a7f3602e9a5324bba6e45',
             sparse_list=[
                 'googletest/include',
                 'googlemock/include',
-            ])
+            ],
+        )
 
     def install(self, path: pathlib.Path) -> None:
         # Checkout chromium verifier
@@ -122,13 +132,13 @@
         self._chromium_verifier.install(chromium_repo)
 
         # Checkout third party boringssl headers
-        boringssl_repo = chromium_third_party_boringssl_repo_path(
-            chromium_repo)
+        boringssl_repo = chromium_third_party_boringssl_repo_path(chromium_repo)
         self._boringssl.install(boringssl_repo)
 
         # Checkout third party googletest headers
         googletest_repo = chromium_third_party_googletest_repo_path(
-            chromium_repo)
+            chromium_repo
+        )
         self._googletest.install(googletest_repo)
 
     def status(self, path: pathlib.Path) -> bool:
@@ -136,13 +146,13 @@
         if not self._chromium_verifier.status(chromium_repo):
             return False
 
-        boringssl_repo = chromium_third_party_boringssl_repo_path(
-            chromium_repo)
+        boringssl_repo = chromium_third_party_boringssl_repo_path(chromium_repo)
         if not self._boringssl.status(boringssl_repo):
             return False
 
         googletest_repo = chromium_third_party_googletest_repo_path(
-            chromium_repo)
+            chromium_repo
+        )
         if not self._googletest.status(googletest_repo):
             return False
 
diff --git a/pw_package/py/pw_package/packages/crlset.py b/pw_package/py/pw_package/packages/crlset.py
index f17002a..e758390 100644
--- a/pw_package/py/pw_package/packages/crlset.py
+++ b/pw_package/py/pw_package/packages/crlset.py
@@ -35,6 +35,7 @@
 
 class CRLSet(pw_package.package_manager.Package):
     """Install and check status of CRLSet and downloaded CLRSet file."""
+
     def __init__(self, *args, **kwargs):
         super().__init__(*args, name='crlset', **kwargs)
         self._crlset_tools = pw_package.git_repo.GitRepo(
@@ -62,10 +63,10 @@
 
         # Build the go tool
         subprocess.run(
-            ['go', 'build', '-o',
-             crlset_exec_path(path), 'crlset.go'],
+            ['go', 'build', '-o', crlset_exec_path(path), 'crlset.go'],
             check=True,
-            cwd=crlset_tools_repo_path(path))
+            cwd=crlset_tools_repo_path(path),
+        )
 
         crlset_tools_exec = crlset_exec_path(path)
         if not os.path.exists(crlset_tools_exec):
@@ -73,9 +74,11 @@
 
         # Download the latest CRLSet with the go tool
         with open(crlset_file_path(path), 'wb') as crlset_file:
-            fetched = subprocess.run([crlset_exec_path(path), 'fetch'],
-                                     capture_output=True,
-                                     check=True).stdout
+            fetched = subprocess.run(
+                [crlset_exec_path(path), 'fetch'],
+                capture_output=True,
+                check=True,
+            ).stdout
             crlset_file.write(fetched)
 
     def info(self, path: pathlib.Path) -> Sequence[str]:
diff --git a/pw_package/py/pw_package/packages/freertos.py b/pw_package/py/pw_package/packages/freertos.py
index 91738a5..db7b769 100644
--- a/pw_package/py/pw_package/packages/freertos.py
+++ b/pw_package/py/pw_package/packages/freertos.py
@@ -22,12 +22,15 @@
 
 class FreeRtos(pw_package.git_repo.GitRepo):
     """Install and check status of FreeRTOS."""
+
     def __init__(self, *args, **kwargs):
-        super().__init__(*args,
-                         name='freertos',
-                         url='https://github.com/FreeRTOS/FreeRTOS-Kernel',
-                         commit='a4b28e35103d699edf074dfff4835921b481b301',
-                         **kwargs)
+        super().__init__(
+            *args,
+            name='freertos',
+            url='https://github.com/FreeRTOS/FreeRTOS-Kernel',
+            commit='a4b28e35103d699edf074dfff4835921b481b301',
+            **kwargs,
+        )
 
     def info(self, path: pathlib.Path) -> Sequence[str]:
         return (
diff --git a/pw_package/py/pw_package/packages/googletest.py b/pw_package/py/pw_package/packages/googletest.py
index adfb4e8..86da67c 100644
--- a/pw_package/py/pw_package/packages/googletest.py
+++ b/pw_package/py/pw_package/packages/googletest.py
@@ -22,12 +22,15 @@
 
 class Googletest(pw_package.git_repo.GitRepo):
     """Install and check status of googletest."""
+
     def __init__(self, *args, **kwargs):
-        super().__init__(*args,
-                         name='googletest',
-                         url='https://github.com/google/googletest',
-                         commit='073293463e1733c5e931313da1c3f1de044e1db3',
-                         **kwargs)
+        super().__init__(
+            *args,
+            name='googletest',
+            url='https://github.com/google/googletest',
+            commit='073293463e1733c5e931313da1c3f1de044e1db3',
+            **kwargs,
+        )
 
     def info(self, path: pathlib.Path) -> Sequence[str]:
         return (
diff --git a/pw_package/py/pw_package/packages/mbedtls.py b/pw_package/py/pw_package/packages/mbedtls.py
index a320efb..96c49b3 100644
--- a/pw_package/py/pw_package/packages/mbedtls.py
+++ b/pw_package/py/pw_package/packages/mbedtls.py
@@ -22,15 +22,20 @@
 
 class MbedTLS(pw_package.git_repo.GitRepo):
     """Install and check status of MbedTLS."""
+
     def __init__(self, *args, **kwargs):
-        super().__init__(*args,
-                         name='mbedtls',
-                         url="".join([
-                             "https://pigweed.googlesource.com",
-                             "/third_party/github/ARMmbed/mbedtls",
-                         ]),
-                         commit='e483a77c85e1f9c1dd2eb1c5a8f552d2617fe400',
-                         **kwargs)
+        super().__init__(
+            *args,
+            name='mbedtls',
+            url="".join(
+                [
+                    "https://pigweed.googlesource.com",
+                    "/third_party/github/ARMmbed/mbedtls",
+                ]
+            ),
+            commit='e483a77c85e1f9c1dd2eb1c5a8f552d2617fe400',
+            **kwargs,
+        )
 
     def info(self, path: pathlib.Path) -> Sequence[str]:
         return (
diff --git a/pw_package/py/pw_package/packages/micro_ecc.py b/pw_package/py/pw_package/packages/micro_ecc.py
index 9a52003..a72ef43 100644
--- a/pw_package/py/pw_package/packages/micro_ecc.py
+++ b/pw_package/py/pw_package/packages/micro_ecc.py
@@ -22,15 +22,20 @@
 
 class MicroECC(pw_package.git_repo.GitRepo):
     """Install and check the status of the Micro-ECC cryptography library."""
+
     def __init__(self, *args, **kwargs):
-        super().__init__(*args,
-                         name='micro-ecc',
-                         url="".join([
-                             "https://github.com",
-                             "/kmackay/micro-ecc.git",
-                         ]),
-                         commit='24c60e243580c7868f4334a1ba3123481fe1aa48',
-                         **kwargs)
+        super().__init__(
+            *args,
+            name='micro-ecc',
+            url="".join(
+                [
+                    "https://github.com",
+                    "/kmackay/micro-ecc.git",
+                ]
+            ),
+            commit='24c60e243580c7868f4334a1ba3123481fe1aa48',
+            **kwargs,
+        )
 
     def info(self, path: pathlib.Path) -> Sequence[str]:
         return (
diff --git a/pw_package/py/pw_package/packages/nanopb.py b/pw_package/py/pw_package/packages/nanopb.py
index b5875d4..a512fc8 100644
--- a/pw_package/py/pw_package/packages/nanopb.py
+++ b/pw_package/py/pw_package/packages/nanopb.py
@@ -22,14 +22,17 @@
 
 class NanoPB(pw_package.git_repo.GitRepo):
     """Install and check status of nanopb."""
+
     def __init__(self, *args, **kwargs):
+        # pylint: disable=line-too-long
         super().__init__(
             *args,
             name='nanopb',
-            url=
-            'https://pigweed.googlesource.com/third_party/github/nanopb/nanopb',
+            url='https://pigweed.googlesource.com/third_party/github/nanopb/nanopb',
             commit='2b48a361786dfb1f63d229840217a93aae064667',
-            **kwargs)
+            **kwargs,
+        )
+        # pylint: enable=line-too-long
 
     def info(self, path: pathlib.Path) -> Sequence[str]:
         return (
diff --git a/pw_package/py/pw_package/packages/pico_sdk.py b/pw_package/py/pw_package/packages/pico_sdk.py
index 76a8066..201b638 100644
--- a/pw_package/py/pw_package/packages/pico_sdk.py
+++ b/pw_package/py/pw_package/packages/pico_sdk.py
@@ -22,12 +22,15 @@
 
 class PiPicoSdk(pw_package.git_repo.GitRepo):
     """Install and check status of the Raspberry Pi Pico SDK."""
+
     def __init__(self, *args, **kwargs):
-        super().__init__(*args,
-                         name='pico_sdk',
-                         url='https://github.com/raspberrypi/pico-sdk',
-                         commit='2e6142b15b8a75c1227dd3edbe839193b2bf9041',
-                         **kwargs)
+        super().__init__(
+            *args,
+            name='pico_sdk',
+            url='https://github.com/raspberrypi/pico-sdk',
+            commit='2e6142b15b8a75c1227dd3edbe839193b2bf9041',
+            **kwargs,
+        )
 
     def info(self, path: pathlib.Path) -> Sequence[str]:
         return (
diff --git a/pw_package/py/pw_package/packages/protobuf.py b/pw_package/py/pw_package/packages/protobuf.py
index a06c493..25ba486 100644
--- a/pw_package/py/pw_package/packages/protobuf.py
+++ b/pw_package/py/pw_package/packages/protobuf.py
@@ -22,12 +22,15 @@
 
 class Protobuf(pw_package.git_repo.GitRepo):
     """Install and check status of Protobuf."""
+
     def __init__(self, *args, **kwargs):
-        super().__init__(*args,
-                         name='protobuf',
-                         url="https://github.com/protocolbuffers/protobuf.git",
-                         commit='15c40c6cdac2f816a56640d24a5c4c3ec0f84b00',
-                         **kwargs)
+        super().__init__(
+            *args,
+            name='protobuf',
+            url="https://github.com/protocolbuffers/protobuf.git",
+            commit='15c40c6cdac2f816a56640d24a5c4c3ec0f84b00',
+            **kwargs,
+        )
 
     def info(self, path: pathlib.Path) -> Sequence[str]:
         return (
diff --git a/pw_package/py/pw_package/packages/smartfusion_mss.py b/pw_package/py/pw_package/packages/smartfusion_mss.py
index ff37298..f42cfef 100644
--- a/pw_package/py/pw_package/packages/smartfusion_mss.py
+++ b/pw_package/py/pw_package/packages/smartfusion_mss.py
@@ -22,12 +22,15 @@
 
 class SmartfusionMss(pw_package.git_repo.GitRepo):
     """Install and check status of SmartFusion MSS."""
+
     def __init__(self, *args, **kwargs):
-        super().__init__(*args,
-                         name='smartfusion_mss',
-                         url='https://github.com/seank/smartfusion_mss',
-                         commit='bb22f26cc3a54df15bb901dc6c95662727158fed',
-                         **kwargs)
+        super().__init__(
+            *args,
+            name='smartfusion_mss',
+            url='https://github.com/seank/smartfusion_mss',
+            commit='bb22f26cc3a54df15bb901dc6c95662727158fed',
+            **kwargs,
+        )
 
     def info(self, path: pathlib.Path) -> Sequence[str]:
         return (
diff --git a/pw_package/py/pw_package/packages/stm32cube.py b/pw_package/py/pw_package/packages/stm32cube.py
index 2c3df74..a2e704e 100644
--- a/pw_package/py/pw_package/packages/stm32cube.py
+++ b/pw_package/py/pw_package/packages/stm32cube.py
@@ -106,6 +106,7 @@
 
 class Stm32Cube(pw_package.package_manager.Package):
     """Install and check status of stm32cube."""
+
     def __init__(self, family, tags, *args, **kwargs):
         super().__init__(*args, name=f'stm32cube_{family}', **kwargs)
 
@@ -137,12 +138,14 @@
         pw_stm32cube_build.gen_file_list.gen_file_list(path)
 
     def status(self, path: pathlib.Path) -> bool:
-        return all([
-            self._hal_driver.status(path / self._hal_driver.name),
-            self._cmsis_core.status(path / self._cmsis_core.name),
-            self._cmsis_device.status(path / self._cmsis_device.name),
-            (path / "files.txt").is_file(),
-        ])
+        return all(
+            [
+                self._hal_driver.status(path / self._hal_driver.name),
+                self._cmsis_core.status(path / self._cmsis_core.name),
+                self._cmsis_device.status(path / self._cmsis_device.name),
+                (path / "files.txt").is_file(),
+            ]
+        )
 
     def info(self, path: pathlib.Path) -> Sequence[str]:
         return (
diff --git a/pw_package/py/pw_package/pigweed_packages.py b/pw_package/py/pw_package/pigweed_packages.py
index c60468c..0c13dd9 100644
--- a/pw_package/py/pw_package/pigweed_packages.py
+++ b/pw_package/py/pw_package/pigweed_packages.py
@@ -16,19 +16,23 @@
 import sys
 
 from pw_package import package_manager
-from pw_package.packages import arduino_core  # pylint: disable=unused-import
-from pw_package.packages import boringssl  # pylint: disable=unused-import
-from pw_package.packages import chromium_verifier  # pylint: disable=unused-import
-from pw_package.packages import crlset  # pylint: disable=unused-import
-from pw_package.packages import freertos  # pylint: disable=unused-import
-from pw_package.packages import googletest  # pylint: disable=unused-import
-from pw_package.packages import mbedtls  # pylint: disable=unused-import
-from pw_package.packages import micro_ecc  # pylint: disable=unused-import
+
+# pylint: disable=unused-import
+from pw_package.packages import arduino_core
+from pw_package.packages import boringssl
+from pw_package.packages import chromium_verifier
+from pw_package.packages import crlset
+from pw_package.packages import freertos
+from pw_package.packages import googletest
+from pw_package.packages import mbedtls
+from pw_package.packages import micro_ecc
 from pw_package.packages import nanopb
-from pw_package.packages import pico_sdk  # pylint: disable=unused-import
-from pw_package.packages import protobuf  # pylint: disable=unused-import
-from pw_package.packages import smartfusion_mss  # pylint: disable=unused-import
-from pw_package.packages import stm32cube  # pylint: disable=unused-import
+from pw_package.packages import pico_sdk
+from pw_package.packages import protobuf
+from pw_package.packages import smartfusion_mss
+from pw_package.packages import stm32cube
+
+# pylint: enable=unused-import
 
 
 def initialize():