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
Merge pull request #39272 from BerriAI/litellm_fix_e2e_lint_pathspec
Mateo Wang218b3280d160
diff --cc Makefileindex 91835e19e3c,ea15e7da8ab..d360074ea4e--- a/Makefile+++ b/Makefile@@@ -150,12 -147,10 +150,12 @@@ lint-install# Diff-scoped format check, mirroring test-linting.yml's "Check ruff format" step:# only the litellm Python files changed vs the base are checked, so a pre-existing# format issue elsewhere doesn't block an unrelated commit. Git pathspecs match- # recursively, so 'litellm/*.py' covers nested modules and the top-level files that- # CI's 'litellm/**/*.py' skips, which makes this target a superset of the CI step.+ # recursively, so 'litellm/*.py' covers top-level files and nested modules alike,+ # the same set CI's ':(glob)litellm/**/*.py' selects.lint-format-check-changed: $(LINT_DEP_INSTALL) $(LINT_DEP_BASE)- @files=$$(git diff --name-only --diff-filter=ACMR origin/litellm_internal_staging...HEAD -- 'litellm/*.py' | grep -v '^litellm/enterprise/' || true); \+ @base_ref=$$($(RESOLVE_BASE)) && \+ changed=$$(git diff --name-only --diff-filter=ACMR "$$base_ref...HEAD" -- 'litellm/*.py') && \+ files=$$(printf '%s\n' "$$changed" | grep -v '^litellm/enterprise/' || true) || exit $$?; \if [ -z "$$files" ]; then \echo "No changed litellm Python files to format-check."; \else \