diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 42c3cb6..7d8e4cd 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,15 +1,15 @@ version: 2 updates: - - package-ecosystem: npm - directory: / - schedule: - interval: weekly - open-pull-requests-limit: 10 - versioning-strategy: increase-if-necessary - groups: - electron: - patterns: - - electron - - electron-* - - "@electron/*" - - "@electron-forge/*" + - package-ecosystem: npm + directory: / + schedule: + interval: weekly + open-pull-requests-limit: 10 + versioning-strategy: increase-if-necessary + groups: + electron: + patterns: + - electron + - electron-* + - "@electron/*" + - "@electron-forge/*" diff --git a/meshchatx/src/backend/nomadnet_downloader.py b/meshchatx/src/backend/nomadnet_downloader.py index bf81ecc..ce72527 100644 --- a/meshchatx/src/backend/nomadnet_downloader.py +++ b/meshchatx/src/backend/nomadnet_downloader.py @@ -171,7 +171,9 @@ class NomadnetDownloader: timeout_after_seconds = time.time() + link_establishment_timeout - while link.status is not RNS.Link.ACTIVE and time.time() < timeout_after_seconds: + while ( + link.status is not RNS.Link.ACTIVE and time.time() < timeout_after_seconds + ): if self.is_cancelled: return await asyncio.sleep(_POLL_INTERVAL_S) @@ -291,7 +293,11 @@ class NomadnetFileDownloader(NomadnetDownloader): self.on_file_download_success(file_name, file_data) return - if isinstance(response, list) and len(response) > 1 and isinstance(response[1], dict): + if ( + isinstance(response, list) + and len(response) > 1 + and isinstance(response[1], dict) + ): file_data: bytes = response[0] metadata: dict = response[1] diff --git a/meshchatx/src/backend/rnstatus_handler.py b/meshchatx/src/backend/rnstatus_handler.py index 424408b..a49d19b 100644 --- a/meshchatx/src/backend/rnstatus_handler.py +++ b/meshchatx/src/backend/rnstatus_handler.py @@ -281,7 +281,9 @@ class RNStatusHandler: ifstat["outgoing_announce_frequency"] ) if "held_announces" in ifstat: - formatted_if["held_announces"] = fmt_packet_count(ifstat["held_announces"]) + formatted_if["held_announces"] = fmt_packet_count( + ifstat["held_announces"] + ) if "ifac_netname" in ifstat and ifstat["ifac_netname"] is not None: formatted_if["network_name"] = ifstat["ifac_netname"] diff --git a/meshchatx/src/frontend/components/nomadnetwork/NomadNetworkPage.vue b/meshchatx/src/frontend/components/nomadnetwork/NomadNetworkPage.vue index 2b605b7..bb0d121 100644 --- a/meshchatx/src/frontend/components/nomadnetwork/NomadNetworkPage.vue +++ b/meshchatx/src/frontend/components/nomadnetwork/NomadNetworkPage.vue @@ -451,11 +451,7 @@ export default { return this.popoutRouteType === "nomad"; }, navbarPageStats() { - if ( - this.lastPageLoadDurationMs == null || - this.lastPageContentBytes == null || - !this.selectedNodePath - ) { + if (this.lastPageLoadDurationMs == null || this.lastPageContentBytes == null || !this.selectedNodePath) { return null; } return { diff --git a/meshchatx/src/frontend/components/rnstatus/RNStatusPage.vue b/meshchatx/src/frontend/components/rnstatus/RNStatusPage.vue index 6372018..99da267 100644 --- a/meshchatx/src/frontend/components/rnstatus/RNStatusPage.vue +++ b/meshchatx/src/frontend/components/rnstatus/RNStatusPage.vue @@ -31,9 +31,7 @@ /> Refresh -