fix(ruff): remove duplicate RouteChecks import

The import at the top level was unused because RouteChecks is imported
locally inside each function that needs it (likely to avoid circular imports).
This was causing F401 (unused import) and F811 (redefinition) ruff errors.
This commit is contained in:
Shin 2026-02-11 04:23:14 +00:00
parent d050404393
commit 685e72180c

View file

@ -12,7 +12,6 @@ from fastapi import APIRouter, Depends, HTTPException, Query
from litellm._logging import verbose_proxy_logger
from litellm.constants import MAX_POLICY_ESTIMATE_IMPACT_ROWS
from litellm.proxy._types import UserAPIKeyAuth
from litellm.proxy.auth.route_checks import RouteChecks
from litellm.proxy.auth.user_api_key_auth import user_api_key_auth
from litellm.proxy.policy_engine.attachment_registry import get_attachment_registry
from litellm.proxy.policy_engine.policy_registry import get_policy_registry