fix: resolve linting errors - remove unused imports, suppress complexity warning, ignore __getattr__ in recursive detector

This commit is contained in:
Alexsander Hamir 2026-01-01 10:20:54 -08:00
parent 4f6633192f
commit 98ba9760ab

View file

@ -37,6 +37,7 @@ IGNORE_FUNCTIONS = [
"_split_text", # max depth set.
"_delete_nested_value_custom", # max depth set (bounded by number of path segments).
"filter_exceptions_from_params", # max depth set (default 20) to prevent infinite recursion.
"__getattr__", # lazy loading pattern in litellm/__init__.py with proper caching to prevent infinite recursion.
]