Skip to content

Format tests/test_triton_fp_fusion.py back to the hook's fixed point - #13887

Merged
danielhanchen merged 1 commit into
mainfrom
ci-format-triton-fp-fusion
Oct 15, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
ci-format-triton-fp-fusion

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Repo tests (CPU, rest) is red on main since #13828 (e1cdbf4) and on every PR based on it (e.g. #13855):

FAILED tests/test_formatter_fixed_point.py::test_every_tracked_python_file_is_already_formatted
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:
    tests/test_triton_fp_fusion.py
    Fix: python scripts/run_ruff_format.py tests/test_triton_fp_fusion.py

#13828 added that test with one generator expression over the 100-column limit. This is the output of python scripts/run_ruff_format.py tests/test_triton_fp_fusion.py with the pinned ruff 0.6.9, nothing else: the one any(...) call is split over four lines. No logic change.

Verification:

  • tests/test_formatter_fixed_point.py (ruff 0.6.9): fails on main as above, 16 passed with this change.
  • tests/test_triton_fp_fusion.py: 2 passed, 2 skipped (no GPU), same as before.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 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-15T16:24:42.166862Z cf886fd Manual request
🔒 Security Review ⚠️ Failed 2026-10-15T16:24:05.867718Z cf886fd 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: cf886fd4d2

ℹ️ 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 23f5825 into main Oct 15, 2026
@danielhanchen
danielhanchen deleted the ci-format-triton-fp-fusion branch October 15, 2026 16:30
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