3 ms·
that's fair. The DX of hk is a much harder problem since it will always require a decent amount of customization to fit into a project. I will be improving this
by jdxcode 11mo ago
that's fair. The DX of hk is a much harder problem since it will always require a decent amount of customization to fit into a project. I will be improving this though.
I'd probably say hk is the most challenging pre-commit manager to setup compared to its peers. That said, it's also the only one that can run hooks in parallel safely and deal with partially staged files where the others don't bother with these problems.
At least right now hk is good for folks that want the fastest and don't mind a bit of effort. Hopefully I can improve that and make it the best all-around.
- maccard 11mo agoIm very open to a bit of a learning curve! I wasn’t able to get a pre commit of ‘tofu fmt -check’ with the list of tf files changed working, which was frustrating! I found working with pkl tough as there’s little/no editor support (compared to writing tasks in toml with mise). I tried adding a post install hook to mise to run hk install which had surprising side effects! I’m looking forward to trying fnox!
- jdxcode 11mo agoI added this for the next hk release: https://github.com/jdx/hk/commit/0fe8610fbe5d9f1c6977e0be5963af5e28e6b639 https://github.com/jdx/hk/commit/0fe8610fbe5d9f1c6977e0be596...
- maccard 11mo agoIn the spirit of things I sent a PR in for the other footgun that I noticed. https://github.com/jdx/hk/pull/382 https://github.com/jdx/hk/pull/382
- jdxcode 11mo agoI suspect it may have been that it was using `*.tf` instead of `**/*.tf`