Skip to content

Add script to _fix_ formatting, not just _check_#100

Open
rjhuijsman wants to merge 1 commit intomainfrom
rjh.formatting-hooks
Open

Add script to _fix_ formatting, not just _check_#100
rjhuijsman wants to merge 1 commit intomainfrom
rjh.formatting-hooks

Conversation

@rjhuijsman
Copy link
Copy Markdown
Contributor

Agents like Claude Code can use hooks to deterministically run formatters/linters/... at certain points in their lifecycle. This commit adds a script that formats all modified code in a way that passes the checks that were already defined in this repo. Agent hooks can run that script to get well-formatted files, instead of having to create the right formatting through the LLM's output.

Agents like Claude Code can use hooks to
deterministically run formatters/linters/... at
certain points in their lifecycle. This commit
adds a script that formats all modified code in a
way that passes the checks that were already
defined in this repo. Agent hooks can run that
script to get well-formatted files, instead of
having to create the right formatting through the
LLM's output.
@rjhuijsman rjhuijsman self-assigned this Apr 9, 2026
@rjhuijsman rjhuijsman requested a review from benh April 9, 2026 14:16
@rjhuijsman rjhuijsman requested a review from onelxj April 13, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants