mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-20 00:11:50 +00:00
LIT002 banned every list/dict/set literal, comprehension and constructor call. In practice it produced # mutable-ok on most lines that touched a library, pushed defensive deep copies of self-referential objects (a memory leak), and forced MappingProxyType <-> dict conversions at every boundary. LIT001 keeps mutable sequences and sets out of annotations; dict/Dict/defaultdict/MutableMapping are now allowed. Dropped the 1430 mutable-ok comments no remaining rule needs. type-discipline-budget.json is left for the ratchet automation. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| datadog_mcp.py | ||
| linear_session_capture.py | ||
| mcp_client.py | ||
| oauth_chat_client.py | ||
| test_mcp_access_group_e2e.py | ||
| test_mcp_chat_completion_oauth_e2e.py | ||
| test_mcp_datadog_e2e.py | ||
| test_mcp_guardrail_e2e.py | ||
| test_mcp_key_access_e2e.py | ||
| test_mcp_toolset_enforcement_e2e.py | ||