diff --git a/litellm/integrations/prometheus.py b/litellm/integrations/prometheus.py index 8b780283a1c..14261837b93 100644 --- a/litellm/integrations/prometheus.py +++ b/litellm/integrations/prometheus.py @@ -3971,9 +3971,7 @@ class PrometheusLogger(CustomLogger): methods=["GET"], include_in_schema=False, ) - verbose_proxy_logger.debug( - "Starting Prometheus Metrics on /metrics (no authentication)" - ) + verbose_proxy_logger.debug("Starting Prometheus Metrics on /metrics (no authentication)") def _prometheus_labels_from_context( diff --git a/tests/test_litellm/integrations/test_prometheus_metrics_endpoint.py b/tests/test_litellm/integrations/test_prometheus_metrics_endpoint.py index 594250b5f4d..105d694657f 100644 --- a/tests/test_litellm/integrations/test_prometheus_metrics_endpoint.py +++ b/tests/test_litellm/integrations/test_prometheus_metrics_endpoint.py @@ -32,9 +32,7 @@ def test_metrics_endpoint_no_trailing_slash_no_redirect(monkeypatch): response = client.get("/metrics") - assert ( - response.status_code == 200 - ), f"bare /metrics must not 307 (got {response.status_code}); see #30079" + assert response.status_code == 200, f"bare /metrics must not 307 (got {response.status_code}); see #30079" assert "text/plain" in response.headers.get("content-type", "")