From ef0cfe3956cb09f8c5ee1b9d5a777edc27168ec7 Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Wed, 13 May 2026 15:07:12 -0400 Subject: [PATCH] style(server): ruff-format Google client id cache helper Co-authored-by: Cursor --- src/server/app.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/server/app.py b/src/server/app.py index 94bfee0..ad2cc98 100644 --- a/src/server/app.py +++ b/src/server/app.py @@ -73,9 +73,10 @@ _google_client_id_cache_ts = 0.0 def _get_google_client_id() -> str: global _google_client_id_cache, _google_client_id_cache_ts now = time.monotonic() - if _google_client_id_cache is not None and ( - now - _google_client_id_cache_ts - ) <= _GOOGLE_CLIENT_ID_CACHE_TTL_SECONDS: + if ( + _google_client_id_cache is not None + and (now - _google_client_id_cache_ts) <= _GOOGLE_CLIENT_ID_CACHE_TTL_SECONDS + ): return _google_client_id_cache config = load_config()