Skip to content

Fix W291: remove trailing whitespace in string literals - #938

Merged
squid-protocol merged 3 commits into
squid-protocol:mainfrom
deepa-raj:fix/w291-trailing-whitespace
Aug 1, 2026
Merged

squid-protocol merged 3 commits into
squid-protocol:mainfrom
deepa-raj:fix/w291-trailing-whitespace

Conversation

@deepa-raj

Copy link
Copy Markdown
Contributor

Removes trailing whitespace across 8 files as flagged by ruff's W291 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/standards/analysis_lens.py
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_test_forge.py
  • gitgalaxy/tools/terabyte_log_scanning/pii_leak_hunter.py
  • gitgalaxy/tools/terabyte_log_scanning/terabyte_log_scanner.py
  • gitgalaxy/cobol_refractor_controller.py
  • gitgalaxy/cobol_to_java_controller.py
  • gitgalaxy/core/state_rehydrator.py

Closes #500

Removes trailing whitespace across 8 files as flagged by ruff's W291
check, and regenerates the lint baseline to reflect the fixes.
Closes squid-protocol#500
…tespace

# Conflicts:
#	tests/ruff_audit_baseline.json
@squid-protocol

Copy link
Copy Markdown
Owner

This code is looking nice! Thanks again!

@squid-protocol squid-protocol reopened this Aug 1, 2026
@squid-protocol
squid-protocol merged commit c93ff56 into squid-protocol:main Aug 1, 2026
52 checks passed
@deepa-raj

Copy link
Copy Markdown
Contributor Author

Thank you! This was my first open-source contribution, and I really appreciate you being so welcoming and quick to review — made the experience great.

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 W291: trailing whitespace in string literals (everywhere else)

2 participants