Skip to content

add ls tool formatters#1021

Open
LasmarKhalifa wants to merge 1 commit into
07-02/pi-tool-formatter-findfrom
07-02/pi-tool-formatter-ls
Open

add ls tool formatters#1021
LasmarKhalifa wants to merge 1 commit into
07-02/pi-tool-formatter-findfrom
07-02/pi-tool-formatter-ls

Conversation

@LasmarKhalifa

@LasmarKhalifa LasmarKhalifa commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Closes #1029

Copy link
Copy Markdown
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@LasmarKhalifa LasmarKhalifa force-pushed the 07-02/pi-tool-formatter-ls branch from 498aaf4 to da7caa7 Compare July 3, 2026 14:50
@LasmarKhalifa LasmarKhalifa force-pushed the 07-02/pi-tool-formatter-find branch 2 times, most recently from eba0fd6 to 96d8a9b Compare July 3, 2026 15:06
@LasmarKhalifa LasmarKhalifa force-pushed the 07-02/pi-tool-formatter-ls branch 2 times, most recently from 38a75a7 to a28917e Compare July 3, 2026 15:30
@LasmarKhalifa LasmarKhalifa force-pushed the 07-02/pi-tool-formatter-find branch from 96d8a9b to 554abfb Compare July 3, 2026 15:30
@LasmarKhalifa LasmarKhalifa force-pushed the 07-02/pi-tool-formatter-ls branch from a28917e to a083596 Compare July 3, 2026 16:02
@LasmarKhalifa LasmarKhalifa force-pushed the 07-02/pi-tool-formatter-find branch from 554abfb to 8a4b6f3 Compare July 3, 2026 16:02
@LasmarKhalifa LasmarKhalifa force-pushed the 07-02/pi-tool-formatter-find branch from 8a4b6f3 to 621fd97 Compare July 3, 2026 16:12
@LasmarKhalifa LasmarKhalifa force-pushed the 07-02/pi-tool-formatter-ls branch from a083596 to bb7da93 Compare July 3, 2026 16:12
@LasmarKhalifa LasmarKhalifa marked this pull request as ready for review July 3, 2026 16:29

@mathiusj mathiusj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ls formatter looks good — tops off a clean stack.

# LS OK 0 entries
#
#: () -> String
def format_ls

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same counting-consistency note as find/read: reject(&:empty?) drops blank lines here, while format_read counts them. Worth aligning or documenting the distinction (entry count vs. file line count).

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.

2 participants