From d6f9d6c9107bd83c1a5ef52641f3a29782b14646 Mon Sep 17 00:00:00 2001 From: Vikas Sharma Date: Thu, 6 Aug 2026 13:25:33 +0530 Subject: [PATCH] style: fix ruff format for tickerr integration --- litellm/integrations/tickerr.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litellm/integrations/tickerr.py b/litellm/integrations/tickerr.py index c3f0114ed76..d738031e80e 100644 --- a/litellm/integrations/tickerr.py +++ b/litellm/integrations/tickerr.py @@ -49,9 +49,7 @@ class TickerrLogger(CustomLogger): } self.region: Optional[str] = os.environ.get("TICKERR_REGION") try: - self.sample_rate: float = min( - 1.0, max(0.0, float(os.environ.get("TICKERR_SAMPLE_RATE", "0"))) - ) + self.sample_rate: float = min(1.0, max(0.0, float(os.environ.get("TICKERR_SAMPLE_RATE", "0")))) except (ValueError, TypeError): self.sample_rate = 0.0