Skip to content

Format the two files #14247 left off the formatter fixed point - #14270

Merged
danielhanchen merged 1 commit into
mainfrom
fix/format-fixed-point
Oct 19, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
fix/format-fixed-point

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

tests/test_formatter_fixed_point.py::test_every_tracked_python_file_is_already_formatted fails in Repo tests (CPU, rest) on PRs based on current main (seen on #14229):

these tracked files are not a fixed point of the ruff-format-with-kwargs hook, so pre-commit.ci will fail the next PR that edits them

That run listed eight files. Most were reformatted on main since then. Running the hook (scripts/run_ruff_format.py, ruff 0.6.9 as pinned) over every tracked file inside the hook's scope, at main 6c159816c5, leaves two:

  • studio/backend/routes/settings.py: one logger.info(...) call the hook joins onto one line.
  • studio/backend/tests/test_video_cpu_developer_mode.py: one from utils.account_context import ... the hook splits.

Both came in with #14247, which merged without its pre-commit.ci format commit.

Change

The hook's own output for those two files, nothing else. No behavior change.

Testing

  • The hook over every tracked .py: I ran it and then reverted everything the hook's exclude pattern skips (read from .pre-commit-config.yaml the same way the guard does). Exactly these two files remain changed.
  • Running it again on this branch: no further changes.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 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-19T15:37:48.920196Z f180317 Manual request
🔒 Security Review ⚠️ Failed 2026-10-19T15:25:33.792763Z f180317 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

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: f1803178a5

ℹ️ 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 f210636 into main Oct 19, 2026
@danielhanchen
danielhanchen deleted the fix/format-fixed-point branch October 19, 2026 15:43
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