litellm/tests/test_litellm/llms/volcengine
mateo-berri 4e32a8bf6a chore(lint): remove litellm/types from the ruff lint exclusion
ruff.toml has excluded litellm/types/* since 2024, so no lint rule ever ran
on the types tree. Remove the exclusion, apply ruff --fix and ruff format
across litellm/types, and hand-fix what autofix cannot reach so the
pyupgrade budgets stay at zero: implicit type aliases converted to PEP 604
unions, RootModel[Union[...]] bases, duplicate imports, and a stray print.

Load-bearing import X as X re-exports deleted by preview-mode F401 are
restored, and the six star-imported hub modules keep their re-export
surface via per-file F401 ignores. Star-import consumers that silently
relied on typing names leaking from those hubs are modernized to builtin
generics and PEP 604 unions.

Runtime annotation introspection that only recognized typing.Union is
taught types.UnionType (guardrail UI field schemas, volcengine response
fill), with regression tests for both. Strict budget limits for the rules
the types tree now trips are raised to exact measured totals, so any
net-new violation still fails the gate
2026-08-05 01:10:15 -07:00
..
embedding style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
responses chore(lint): remove litellm/types from the ruff lint exclusion 2026-08-05 01:10:15 -07:00
__init__.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_volcengine.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_volcengine_embedding.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00