Fix formatting according to //format.sh globally

Change-Id: If36cb4da3283dd6842a7b2698361b44206d27666
Reviewed-on: https://fuchsia-review.googlesource.com/c/antlion/+/1074942
Fuchsia-Auto-Submit: Charles Celerier <chcl@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Reviewed-by: Patrick Lu <patricklu@google.com>
diff --git a/packages/antlion/capabilities/ssh.py b/packages/antlion/capabilities/ssh.py
index 351b629..24ce107 100644
--- a/packages/antlion/capabilities/ssh.py
+++ b/packages/antlion/capabilities/ssh.py
@@ -39,9 +39,11 @@
 
     def __init__(
         self,
-        process: subprocess.CompletedProcess[bytes]
-        | subprocess.CompletedProcess[str]
-        | subprocess.CalledProcessError,
+        process: (
+            subprocess.CompletedProcess[bytes]
+            | subprocess.CompletedProcess[str]
+            | subprocess.CalledProcessError
+        ),
     ) -> None:
         if isinstance(process.stdout, bytes):
             self._stdout_bytes = process.stdout
diff --git a/packages/antlion/controllers/openwrt_ap.py b/packages/antlion/controllers/openwrt_ap.py
index a9591b9..4ca0129 100644
--- a/packages/antlion/controllers/openwrt_ap.py
+++ b/packages/antlion/controllers/openwrt_ap.py
@@ -117,9 +117,9 @@
                 logger.PrefixLoggerAdapter.EXTRA_KEY_LOG_PREFIX: f"[OpenWrtAP|{self.ssh_settings.hostname}]",
             },
         )
-        self.wireless_setting: wireless_settings_applier.WirelessSettingsApplier | None = (
-            None
-        )
+        self.wireless_setting: (
+            wireless_settings_applier.WirelessSettingsApplier | None
+        ) = None
         self.network_setting = network_settings.NetworkSettings(
             self.ssh, self.ssh_settings, self.log
         )
diff --git a/packages/antlion/controllers/openwrt_lib/wireless_config.py b/packages/antlion/controllers/openwrt_lib/wireless_config.py
index 8cbcd19..d97e197 100644
--- a/packages/antlion/controllers/openwrt_lib/wireless_config.py
+++ b/packages/antlion/controllers/openwrt_lib/wireless_config.py
@@ -1,6 +1,5 @@
 """Class for Wireless config."""
 
-
 from antlion.controllers.ap_lib.hostapd_security import OpenWRTEncryptionMode
 
 
diff --git a/packages/antlion/libs/proc/process.py b/packages/antlion/libs/proc/process.py
index b86d941..40ff342 100644
--- a/packages/antlion/libs/proc/process.py
+++ b/packages/antlion/libs/proc/process.py
@@ -60,9 +60,9 @@
         self._command = command
         self._subprocess_kwargs = kwargs
         if _on_windows:
-            self._subprocess_kwargs[
-                "creationflags"
-            ] = subprocess.CREATE_NEW_PROCESS_GROUP
+            self._subprocess_kwargs["creationflags"] = (
+                subprocess.CREATE_NEW_PROCESS_GROUP
+            )
         else:
             self._subprocess_kwargs["start_new_session"] = True
         self._process = None
diff --git a/packages/antlion/test_utils/abstract_devices/wmm_transceiver.py b/packages/antlion/test_utils/abstract_devices/wmm_transceiver.py
index 913dd5b..8609807 100644
--- a/packages/antlion/test_utils/abstract_devices/wmm_transceiver.py
+++ b/packages/antlion/test_utils/abstract_devices/wmm_transceiver.py
@@ -172,9 +172,11 @@
         self.log = logger.PrefixLoggerAdapter(
             logging.getLogger(),
             {
-                logger.PrefixLoggerAdapter.EXTRA_KEY_LOG_PREFIX: f"[WmmTransceiver | {self.identifier}]"
-                if self.identifier
-                else "[WmmTransceiver]",
+                logger.PrefixLoggerAdapter.EXTRA_KEY_LOG_PREFIX: (
+                    f"[WmmTransceiver | {self.identifier}]"
+                    if self.identifier
+                    else "[WmmTransceiver]"
+                ),
             },
         )
         # WLAN device or AccessPoint, that is used as the transceiver. Only one
diff --git a/packages/antlion/validation.py b/packages/antlion/validation.py
index 194331d..b985eb5 100644
--- a/packages/antlion/validation.py
+++ b/packages/antlion/validation.py
@@ -45,14 +45,12 @@
         self.map = map
 
     @overload
-    def get(self, type: type[T], key: str, default: None) -> T | None:
-        ...
+    def get(self, type: type[T], key: str, default: None) -> T | None: ...
 
     @overload
     def get(
         self, type: type[T], key: str, default: T | _NO_DEFAULT = _NO_DEFAULT()
-    ) -> T:
-        ...
+    ) -> T: ...
 
     def get(
         self, type: type[T], key: str, default: T | None | _NO_DEFAULT = _NO_DEFAULT()
@@ -92,16 +90,13 @@
         return val
 
     @overload
-    def list(self, key: str) -> ListValidator:
-        ...
+    def list(self, key: str) -> ListValidator: ...
 
     @overload
-    def list(self, key: str, optional: Literal[False]) -> ListValidator:
-        ...
+    def list(self, key: str, optional: Literal[False]) -> ListValidator: ...
 
     @overload
-    def list(self, key: str, optional: Literal[True]) -> ListValidator | None:
-        ...
+    def list(self, key: str, optional: Literal[True]) -> ListValidator | None: ...
 
     def list(self, key: str, optional: bool = False) -> ListValidator | None:
         """Access the map requiring a list at the specified key.
diff --git a/stubs/mobly/test_runner.pyi b/stubs/mobly/test_runner.pyi
index 8f1c9df..f2aee14 100644
--- a/stubs/mobly/test_runner.pyi
+++ b/stubs/mobly/test_runner.pyi
@@ -37,6 +37,7 @@
         def run_id(self): ...
         @property
         def time_elapsed_sec(self): ...
+
     results: Incomplete
     def __init__(self, log_dir, testbed_name) -> None: ...
     def mobly_logger(
diff --git a/tests/wlan/functional/SoftApTest.py b/tests/wlan/functional/SoftApTest.py
index 42267f6..018197b 100644
--- a/tests/wlan/functional/SoftApTest.py
+++ b/tests/wlan/functional/SoftApTest.py
@@ -367,9 +367,9 @@
         for device in self.android_devices:
             client_wlan_device = create_wlan_device(device, AssociationMode.POLICY)
             self.clients.append(client_wlan_device)
-            self.iperf_clients_map[
-                client_wlan_device
-            ] = client_wlan_device.create_iperf_client()
+            self.iperf_clients_map[client_wlan_device] = (
+                client_wlan_device.create_iperf_client()
+            )
         self.primary_client = self.clients[0]
 
         # Create an iperf server on the DUT, which will be used for any streaming.
diff --git a/tests/wlan/performance/WlanRvrTest.py b/tests/wlan/performance/WlanRvrTest.py
index af10cda..d864ac5 100644
--- a/tests/wlan/performance/WlanRvrTest.py
+++ b/tests/wlan/performance/WlanRvrTest.py
@@ -437,9 +437,9 @@
                 if self.dut.associate(
                     ssid,
                     target_pwd=security.password if security else None,
-                    target_security=security.security_mode
-                    if security
-                    else SecurityMode.OPEN,
+                    target_security=(
+                        security.security_mode if security else SecurityMode.OPEN
+                    ),
                     check_connectivity=False,
                 ):
                     break
@@ -573,9 +573,9 @@
                     if self.dut.associate(
                         ssid,
                         target_pwd=security.password if security else None,
-                        target_security=security.security_mode
-                        if security
-                        else SecurityMode.OPEN,
+                        target_security=(
+                            security.security_mode if security else SecurityMode.OPEN
+                        ),
                         check_connectivity=False,
                     ):
                         associated = True