Skip to content

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]

test: add debugging step to linting

Krrish Dholakia09556d0a44ac
diff --git a/.github/workflows/test-linting.yml b/.github/workflows/test-linting.yml
index 7e169d6a27f..e2c6500b983 100644
--- a/.github/workflows/test-linting.yml
+++ b/.github/workflows/test-linting.yml
@@ -11,6 +11,9 @@ jobs:
steps:
- uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ clean: true
- name: Set up Python
uses: actions/setup-python@v4
@@ -20,6 +23,11 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
+ - name: Clean Python cache
+ run: |
+ find . -type d -name "__pycache__" -exec rm -rf {} + || true
+ find . -name "*.pyc" -delete || true
+
- name: Install dependencies
run: |
poetry install --with dev
@@ -31,6 +39,15 @@ jobs:
poetry run black .
cd ..
+ - name: Debug - Check file state
+ run: |
+ echo "Current branch:"
+ git branch --show-current
+ echo "Last 3 commits:"
+ git log --oneline -3
+ echo "File content around line 43:"
+ head -50 litellm/litellm_core_utils/custom_logger_registry.py | tail -10
+
- name: Run Ruff linting
run: |
cd litellm