Skip to content

Format two test files that #13378 and #13437 left off the formatter's fixed point - #13462

Merged
danielhanchen merged 1 commit into
mainfrom
ci-format-two-files
Oct 12, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
ci-format-two-files

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Problem

tests/test_formatter_fixed_point.py::test_every_tracked_python_file_is_already_formatted fails on main (c6db48dd38), and so in Repo tests (CPU, rest) on PRs such as #13443:

these tracked files are not a fixed point of the ruff-format-with-kwargs hook:
    studio/backend/tests/test_openai_videos_route.py      (last touched by #13378)
    tests/studio/playwright_find_in_page.py                (last touched by #13437)

Fix

The output of python scripts/run_ruff_format.py on those two files, with the pinned ruff 0.6.9:

  • one signature and one monkeypatch.setattr(...) call wrapped;
  • one string literal switched to double quotes.

No behaviour change.

Verification

main this PR
tests/test_formatter_fixed_point.py (pinned ruff) 1 failed, 15 passed 16 passed
studio/backend/tests/test_openai_videos_route.py 82 passed

playwright_find_in_page.py still compiles. It is a Playwright driver, not a pytest file.

… fixed point

test_formatter_fixed_point fails on main for studio/backend/tests/test_openai_videos_route.py (#13378) and tests/studio/playwright_find_in_page.py (#13437). Output of scripts/run_ruff_format.py, no behaviour change.
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 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-12T17:26:00.150125Z 5d4eaff 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. 🚀

Reviewed commit: 5d4eaffd46

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

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