2024-12-20 04:33:42 +08:00
|
|
|
lint.ignore = ["F405", "E402", "E501", "F403"]
|
|
|
|
|
lint.extend-select = ["E501", "PLR0915", "T20"]
|
2024-06-07 11:12:41 +08:00
|
|
|
line-length = 120
|
2024-12-20 04:33:42 +08:00
|
|
|
exclude = ["litellm/types/*", "litellm/__init__.py", "litellm/proxy/example_config_yaml/*", "tests/*"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[lint.per-file-ignores]
|
|
|
|
|
"litellm/main.py" = ["F401"]
|
|
|
|
|
"litellm/utils.py" = ["F401"]
|
|
|
|
|
"litellm/proxy/proxy_server.py" = ["F401"]
|
|
|
|
|
"litellm/caching/__init__.py" = ["F401"]
|
|
|
|
|
"litellm/llms/anthropic/chat/__init__.py" = ["F401"]
|
|
|
|
|
"litellm/llms/azure_ai/embed/__init__.py" = ["F401"]
|
|
|
|
|
"litellm/llms/azure_ai/rerank/__init__.py" = ["F401"]
|
2026-02-22 11:50:38 +08:00
|
|
|
"litellm/llms/bedrock/chat/__init__.py" = ["F401"]
|
|
|
|
|
"litellm/proxy/utils.py" = ["F401", "PLR0915"]
|
|
|
|
|
"litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/content_filter.py" = ["PLR0915"]
|
|
|
|
|
"litellm/proxy/guardrails/guardrail_hooks/guardrail_benchmarks/test_eval.py" = ["PLR0915"]
|
2026-03-02 21:00:39 +08:00
|
|
|
"litellm/responses/streaming_iterator.py" = ["PLR0915"]
|
2026-03-11 23:45:19 +08:00
|
|
|
"litellm/files/main.py" = ["PLR0915"]
|