Skip to content

Fix W293: remove blank-line whitespace in cobol_to_java files - #939

Merged
squid-protocol merged 2 commits into
squid-protocol:mainfrom
deepa-raj:fix/w293-blank-line-whitespace
Aug 1, 2026
Merged

squid-protocol merged 2 commits into
squid-protocol:mainfrom
deepa-raj:fix/w293-blank-line-whitespace

Conversation

@deepa-raj

Copy link
Copy Markdown
Contributor

Removes blank-line whitespace across 2 files as flagged by ruff's W293 check, and regenerates the lint baseline to reflect the fixes.

This is a lint-only cleanup (whitespace removal) and does not touch the blAST engine's parsing logic, structural heuristics, or output schema — so the Differential Scan / Visual Observatory testing checklist doesn't apply here.

Files fixed:

  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_decoder_forge.py

Closes #501

Removes blank-line whitespace across 2 files as flagged by ruff's W293
check, and regenerates the lint baseline to reflect the fixes.

Closes squid-protocol#501
@squid-protocol
squid-protocol merged commit b07b127 into squid-protocol:main Aug 1, 2026
squid-protocol added a commit that referenced this pull request Aug 1, 2026
)

PR #939 (merged) correctly stripped trailing whitespace from blank lines
inside cobol_to_java_decoder_forge.py's Java-generating template (W293),
but the hardcoded GOLDEN_DECODER_UTIL fixture in this test wasn't updated
to match, leaving test_ebcdic_comp3_decoder_golden_image failing on main.

Confirmed via diff the drift is whitespace-only (three blank lines lost
trailing spaces) -- no bitwise/hex decoding logic changed. This slipped
through because full-suite only runs on labeled PRs or version-tag pushes,
not on ordinary pushes to main, so #939's merge never triggered it.

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5 <[email protected]>
@squid-protocol

Copy link
Copy Markdown
Owner

Awesome! Thanks for the cleanup! I appreciate your time.

@deepa-raj
deepa-raj deleted the fix/w293-blank-line-whitespace branch August 1, 2026 16:55
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.

Ruff W293: blank-line whitespace in cobol_to_java string literals

2 participants