From 0fc407cfddb70ff3f9ecf1c0b4213ba33510fc0c Mon Sep 17 00:00:00 2001 From: Chesars Date: Thu, 12 Mar 2026 14:27:00 -0300 Subject: [PATCH] ci: exclude enterprise/ from black --check in linting workflow Contributors don't have local access to enterprise/ files, so the check would always fail on unformatted enterprise code. --- .github/workflows/test-linting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-linting.yml b/.github/workflows/test-linting.yml index 24136e546d..fc0f84a20d 100644 --- a/.github/workflows/test-linting.yml +++ b/.github/workflows/test-linting.yml @@ -36,7 +36,7 @@ jobs: - name: Check Black formatting run: | cd litellm - poetry run black --check . + poetry run black --check --exclude '/enterprise/' . cd .. - name: Debug - Check file state