tombi-format check should be quiet #1116
Replies: 1 comment
|
Good catch — fixed in #1117, the builtin now passes As for why your override didn't take: If you want to override it before the next release, set ["tombi-format"] = (Builtins.tombi_format) {
depends = "tombi"
check_diff = "tombi format --quiet --check --diff {{ files }}"
fix = "tombi format --quiet {{ files }}"
}
This comment was generated by Claude Code. |
Uh oh!
There was an error while loading. Please reload this page.
when running the builtin linter
tombi-format, it always outputs something regardless of success which is a bit ugly IMO:ie:
$ hk run pre-commit hk 1.53.0 by @jdx – pre-commit – fix [=======================================] 8/8 ✔ files - No unstaged changes to stash (39 files) ✔ mise ✔ tombi ✔ tombi-format ✔ tofu ✔ hclfmt ✔ whitespace ✔ newlines ✔ mixed-line-ending tombi-format stderr: 1 file did not need formattingI tried to change the config to pass the
--quietflag, but it doesn't seem to work for some reason:All reactions