mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
Add per-file-ignores for: - a2a_protocol/main.py (56 statements) - fine_tuning/main.py (53 statements) - generic_guardrail_api.py (51 statements) - mcp_streaming_iterator.py (73 statements) Follows existing pattern used for proxy/utils.py, streaming_iterator.py, etc. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
23 lines
1.1 KiB
TOML
23 lines
1.1 KiB
TOML
lint.ignore = ["F405", "E402", "E501", "F403"]
|
|
lint.extend-select = ["E501", "PLR0915", "T20"]
|
|
line-length = 120
|
|
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"]
|
|
"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"]
|
|
"litellm/responses/streaming_iterator.py" = ["PLR0915"]
|
|
"litellm/a2a_protocol/main.py" = ["PLR0915"]
|
|
"litellm/fine_tuning/main.py" = ["PLR0915"]
|
|
"litellm/proxy/guardrails/guardrail_hooks/generic_guardrail_api/generic_guardrail_api.py" = ["PLR0915"]
|
|
"litellm/responses/mcp/mcp_streaming_iterator.py" = ["PLR0915"]
|