From ab381a61f517a49e7229deedf415b48564a29795 Mon Sep 17 00:00:00 2001 From: Julio Quinteros Pro Date: Thu, 19 Feb 2026 17:31:58 -0300 Subject: [PATCH] fix(lint): remove redundant explicit router import in policy_endpoints __init__ The `router` name is already re-exported via `from .endpoints import *`, making the explicit `from .endpoints import (router,)` on the following lines redundant and triggering ruff F401 (imported but unused). Co-Authored-By: Claude Sonnet 4.6 --- .../proxy/management_endpoints/policy_endpoints/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/litellm/proxy/management_endpoints/policy_endpoints/__init__.py b/litellm/proxy/management_endpoints/policy_endpoints/__init__.py index 8486a5660a..7f28c7b3b2 100644 --- a/litellm/proxy/management_endpoints/policy_endpoints/__init__.py +++ b/litellm/proxy/management_endpoints/policy_endpoints/__init__.py @@ -8,6 +8,3 @@ are imported directly into this namespace. """ from litellm.proxy.management_endpoints.policy_endpoints.endpoints import * # noqa: F401, F403 -from litellm.proxy.management_endpoints.policy_endpoints.endpoints import ( - router, -)