Skip to content

PreciseFlex wire tests cleanup: one line per table row where it fits - #1578

Merged
BioCam merged 1 commit into
mainfrom
precise-flex-tests-one-line-rows
Nov 1, 2026
Merged

BioCam merged 1 commit into
mainfrom
precise-flex-tests-one-line-rows

Conversation

@BioCam

@BioCam BioCam commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

The Problem

wire_tests.py is 2,336 lines, mostly because trailing commas hold each row of _CASES and _RAIL_CASES open across 7-9 lines. A one-command case takes as much room as a real sequence, so the table is hard to read and every change to it produces a long diff.

PR Content

  • removes the trailing commas inside _CASES and _RAIL_CASES so ruff format puts a row on one line where it fits; rows over 100 characters stay multi-line
  • 592 fewer lines; no test, expected command or reply changes, and the file's parsed code is identical

🤖 Generated with Claude Code

Removes the trailing commas that held rows open; the parsed code is identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BioCam
BioCam marked this pull request as ready for review November 1, 2026 17:30
@BioCam
BioCam requested a review from a team as a code owner November 1, 2026 17:30
@BioCam
BioCam merged commit a9b55e1 into main Nov 1, 2026
27 checks passed
@BioCam
BioCam deleted the precise-flex-tests-one-line-rows branch November 1, 2026 17:39
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