The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(ci): exclude deleted files from ruff format check
Yuneng Jiangfa9664eced1b
diff --git a/.github/workflows/test-linting.yml b/.github/workflows/test-linting.ymlindex ff6c40ac9ae..d0695e49268 100644--- a/.github/workflows/test-linting.yml+++ b/.github/workflows/test-linting.yml@@ -54,7 +54,7 @@ jobs:env:BASE_SHA: ${{ github.event.pull_request.base.sha }}run: |- git diff --name-only "$BASE_SHA"...HEAD -- 'litellm/**/*.py' | grep -v '^litellm/enterprise/' > "$RUNNER_TEMP/ruff_format_files.txt" || true+ git diff --name-only --diff-filter=ACMR "$BASE_SHA"...HEAD -- 'litellm/**/*.py' | grep -v '^litellm/enterprise/' > "$RUNNER_TEMP/ruff_format_files.txt" || trueif [ ! -s "$RUNNER_TEMP/ruff_format_files.txt" ]; thenecho "No changed litellm Python files to check with ruff format."exit 0