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.
This commit is contained in:
Chesars 2026-03-12 14:27:00 -03:00
parent f79744cee2
commit 0fc407cfdd

View file

@ -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