Repository navigation
Closed
Labels
good first issueAccessible entry point for new community contributorspriority: lowUI tweaks, documentation, and minor optimizationspythonPython-specific runtime or environment optimizationsrefactorStructural cleanup or optimization without altering behavior
Milestone
Description
Objective
Part of the ruff lint baseline cleanup (W291 -- trailing whitespace (inside a string literal)). Chunked out of the larger sub-issue this replaces, so it's a manageable, self-contained pickup.
Findings
gitgalaxy/cobol_refractor_controller.py:90(W291) -- Trailing whitespacegitgalaxy/cobol_to_java_controller.py:106(W291) -- Trailing whitespacegitgalaxy/core/state_rehydrator.py:54(W291) -- Trailing whitespacegitgalaxy/core/state_rehydrator.py:55(W291) -- Trailing whitespacegitgalaxy/core/state_rehydrator.py:73(W291) -- Trailing whitespacegitgalaxy/standards/analysis_lens.py:20(W291) -- Trailing whitespacegitgalaxy/standards/analysis_lens.py:21(W291) -- Trailing whitespacegitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py:22(W291) -- Trailing whitespacegitgalaxy/tools/cobol_to_java/cobol_to_java_test_forge.py:41(W291) -- Trailing whitespacegitgalaxy/tools/cobol_to_java/cobol_to_java_test_forge.py:42(W291) -- Trailing whitespacegitgalaxy/tools/cobol_to_java/cobol_to_java_test_forge.py:43(W291) -- Trailing whitespacegitgalaxy/tools/terabyte_log_scanning/pii_leak_hunter.py:98(W291) -- Trailing whitespacegitgalaxy/tools/terabyte_log_scanning/terabyte_log_scanner.py:67(W291) -- Trailing whitespacegitgalaxy/tools/terabyte_log_scanning/terabyte_log_scanner.py:68(W291) -- Trailing whitespace
Approach
Check each before stripping -- if the whitespace is intentional formatting inside embedded CLI/help text, leave it and close that line item as not-applicable rather than force a fix.
Fix in a small PR, removing resolved entries from tests/ruff_audit_baseline.json (see tests/ruff_audit.py's module docstring for the regen command).
Parent: #469
Metadata
Metadata
Assignees
Labels
good first issueAccessible entry point for new community contributorspriority: lowUI tweaks, documentation, and minor optimizationspythonPython-specific runtime or environment optimizationsrefactorStructural cleanup or optimization without altering behavior
Activity
deepa-raj commentedon Jul 28, 2026
Hi, I’d like to work on this as my first open-source contribution. I’ll go through the listed files and remove trailing whitespace, checking for intentional formatting as noted. Could you assign it to me?
squid-protocol commentedon Jul 30, 2026
hey! happy to have you check this out! Thanks a ton!
deepa-raj commentedon Aug 1, 2026
Thanks! Just opened the PR (#938) — let me know if anything needs adjusting.
Fix W291: remove trailing whitespace in string literals (squid-protoc…