Skip to content

Format unsloth/models/speculative.py - #14997

Merged
danielhanchen merged 1 commit into
mainfrom
fmt-speculative-drift
Oct 23, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
fmt-speculative-drift

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

pre-commit.ci - pr is failing on new PRs (for example #14954 and #14955, both queued after the last format fix) because unsloth/models/speculative.py on main is not formatted. #14912 left a blank line after the function-local import in _drop_stale_head, and the pinned ruff-format-with-kwargs hook (ruff 0.6.9) removes it. The hook runs over every file, so every PR inherits the failure.

This is format only:

  • the AST is identical before and after;
  • re-running scripts/run_ruff_format.py over every Python file changed on main since the last format fix leaves nothing else to change.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 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-10-23T16:23:59.381592Z b2db3c4 Manual request
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: b2db3c4a0e

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danielhanchen
danielhanchen merged commit fd924a5 into main Oct 23, 2026
24 of 37 checks passed
@danielhanchen
danielhanchen deleted the fmt-speculative-drift branch October 23, 2026 16:36
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