Skip to content

chore: apply black formatting to fix lint CI#24092

Merged
yuneng-jiang merged 1 commit intoBerriAI:mainfrom
joereyna:fix/black-format-lint
Mar 19, 2026
Merged

chore: apply black formatting to fix lint CI#24092
yuneng-jiang merged 1 commit intoBerriAI:mainfrom
joereyna:fix/black-format-lint

Conversation

@joereyna
Copy link
Copy Markdown
Contributor

@joereyna joereyna commented Mar 19, 2026

Summary

  • Applies black formatting to 2 files that were causing the lint CI job to fail
  • litellm/litellm_core_utils/litellm_logging.py
  • litellm/proxy/management_endpoints/team_endpoints.py

Test plan

  • Verify lint CI passes

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview, Comment Mar 19, 2026 6:00am

Request Review

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Mar 19, 2026

Greptile Summary

This PR applies black auto-formatting to two files to unblock the lint CI job. No logic, behavior, or API surface is changed.

  • litellm/litellm_core_utils/litellm_logging.py: Two reformats — a parenthesized multi-line assignment collapsed to one line (~L1460), and a split boolean condition joined onto a single line (~L2972).
  • litellm/proxy/management_endpoints/team_endpoints.py: One reformat — a long type-annotated variable declaration expanded to Black's multi-line bracket style (~L3334).

Confidence Score: 5/5

  • This PR is safe to merge — all changes are purely cosmetic Black formatting with zero logic impact.
  • Every diff hunk is a pure whitespace/line-wrapping reformat with identical semantics before and after. No imports, control flow, data structures, or public APIs are modified.
  • No files require special attention.

Important Files Changed

Filename Overview
litellm/litellm_core_utils/litellm_logging.py Two formatting-only changes: collapsed a multi-line parenthesized assignment into a single line (line ~1460) and joined a split boolean comparison onto one line (line ~2972). No logic changes.
litellm/proxy/management_endpoints/team_endpoints.py Single formatting-only change: expanded a long type-annotated list declaration into Black's multi-line bracket style. No logic changes.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Lint CI fails on two files] --> B{black formatter applied}
    B --> C["litellm_logging.py\n• Collapse parenthesized assignment\n• Join split boolean condition"]
    B --> D["team_endpoints.py\n• Expand long type annotation\n  to multi-line bracket style"]
    C --> E[Lint CI passes]
    D --> E
Loading

Last reviewed commit: "chore: apply black f..."

@codspeed-hq
Copy link
Copy Markdown
Contributor

codspeed-hq bot commented Mar 19, 2026

Merging this PR will not alter performance

✅ 16 untouched benchmarks


Comparing joereyna:fix/black-format-lint (dab8721) with main (e5baa22)

Open in CodSpeed

@yuneng-jiang yuneng-jiang self-requested a review March 19, 2026 19:22
@yuneng-jiang yuneng-jiang merged commit dfcf978 into BerriAI:main Mar 19, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants