From 665b74b455a3ccc6e8b6f84484ba57be7cac501e Mon Sep 17 00:00:00 2001 From: Brian Krabach Date: Wed, 15 Apr 2026 12:42:56 -0700 Subject: [PATCH] style: apply ruff format to main.py (task-9 follow-up) --- muxplex/main.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/muxplex/main.py b/muxplex/main.py index 2c51510..54e544c 100644 --- a/muxplex/main.py +++ b/muxplex/main.py @@ -242,7 +242,9 @@ async def _run_poll_cycle() -> None: try: await _federation_client.post( bell_clear_url, - headers={"Authorization": f"Bearer {remote_key}"} if remote_key else {}, + headers={"Authorization": f"Bearer {remote_key}"} + if remote_key + else {}, ) except Exception as exc: _log.warning( @@ -1093,7 +1095,9 @@ async def federation_terminal_ws_proxy(websocket: WebSocket, device_id: str) -> async with websockets.connect( ws_url, subprotocols=[Subprotocol("tty")], - additional_headers={"Authorization": f"Bearer {remote_key}"} if remote_key else {}, + additional_headers={"Authorization": f"Bearer {remote_key}"} + if remote_key + else {}, ssl=ssl_context, ) as remote_ws: