Skip to content

Studio: run the formatter on llama_cpp.py - #10926

Merged
danielhanchen merged 1 commit into
mainfrom
formatter-drift-llama-cpp
Sep 14, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
formatter-drift-llama-cpp

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

ruff-format-with-kwargs rewrites one line in _split_fits_capacity that #10197 left unformatted.

pre-commit.ci runs --all-files against the PR merged into main, so the drift arrives from main and every open PR whose merge ref includes #10197 goes red, regardless of what that PR touches. Reproduced on a clean checkout of main with no PR applied:

ruff (legacy alias)......................................................Passed
Ruff format with kwarg spacing...........................................Failed
 M studio/backend/core/inference/llama_cpp.py

Formatting only. One line un-wrapped, no semantic change.

The kwarg-spacing hook rewrites one line in _split_fits_capacity that #10197
left unformatted, so pre-commit.ci fails on every open PR: it runs --all-files
against the PR merged into main, and the drift arrives from main rather than
from the PR. Reproduced on a clean checkout of main with no PR applied.

Formatting only, no semantic change.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-14T13:18:13.498150Z 046c884 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@danielhanchen
danielhanchen merged commit a6cf596 into main Sep 14, 2026
44 of 49 checks passed
@danielhanchen
danielhanchen deleted the formatter-drift-llama-cpp branch September 14, 2026 13:25
@danielhanchen

Copy link
Copy Markdown
Member Author

pre-commit.ci --rerun

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.

1 participant