mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
fix(makefile): fall back to upstream/litellm_internal_staging for strict-budget gate
origin/litellm_internal_staging exists on BerriAI's CI but not on forks that use a different remote name (e.g. Azure DevOps as origin). Fall back to upstream/litellm_internal_staging when the origin ref is absent.
This commit is contained in:
parent
e1f3ca0c27
commit
9336ed1985
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -126,7 +126,8 @@ lint-mypy: install-dev
|
|||
lint-black: format-check
|
||||
|
||||
lint-strict-budget: install-dev
|
||||
$(UV_RUN) python scripts/ruff_strict_gate.py
|
||||
$(UV_RUN) python scripts/ruff_strict_gate.py \
|
||||
--base $$(git rev-parse --verify origin/litellm_internal_staging 2>/dev/null && echo origin/litellm_internal_staging || echo upstream/litellm_internal_staging)
|
||||
|
||||
lint-strict-budget-update: install-dev
|
||||
$(UV_RUN) python scripts/ruff_strict_gate.py --update
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue