Skip to content

Ruff W293: blank-line whitespace in cobol_to_java string literals #501

Closed

Description

@squid-protocol

Objective

Part of the ruff lint baseline cleanup (W293 -- blank line with whitespace (inside a string literal)). Chunked out of the larger sub-issue this replaces, so it's a manageable, self-contained pickup.

Findings

  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py:31 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py:37 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py:41 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py:47 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py:52 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py:57 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py:63 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py:69 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py:74 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py:80 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py:87 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py:117 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py:124 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_decoder_forge.py:33 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_decoder_forge.py:63 (W293) -- Blank line contains whitespace
  • gitgalaxy/tools/cobol_to_java/cobol_to_java_decoder_forge.py:96 (W293) -- Blank line contains whitespace

Approach

Check each before stripping -- if the whitespace is intentional formatting inside embedded template 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

Activity

  1. added
    good first issue
    python
    refactor
    priority: low
    on Jul 26, 2026
  2. deepa-raj commented on Jul 29, 2026

    @deepa-raj
    Contributor

    Hi, I’d like to work on this as well (currently also waiting on assignment for #500, a similar Ruff whitespace cleanup). Could you assign this one to me too if #500 doesn’t work out, or let me know if you’d prefer I focus on just one?

  3. added a commit that references this issue on Aug 1, 2026
    b07b127
  4. added
    legacy-modernization
    on Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

good first issuelegacy-modernizationpriority: lowpythonrefactor

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions