Seeking pre-commit assistance #278
Replies: 2 comments 2 replies
-
|
Hi @braydonk! I just discovered this amazing tool and I'm willing to help maintaining the pre-commit hook for it. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @braydonk! With It feels weird I do need to exclude now the folder I wonder why this gets fixed only when setting: but it fails with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I don't use pre-commit and have no desire to. No ill will to people who use it or the creator(s), it's just not for me. However, due to high demand a few years ago, I added support for running yamlfmt as a pre-commit hook (see #58).
All the way back then, I wrote the hook the best I could based on my limited understanding of the tool. But all this time, it worked in a totally unintended way. I attempted to fix it in v0.18.0 based on #267, but it was ended up broken thanks to my lack of knowledge (I would have caught it by testing, that was laziness on my part so I apologize to anyone who was broken by it).
In the (as of writing) upcoming v0.18.1, I'm making a final fix to how the hook works in #277. This should finally match the experience I'd intended for the hook all this time.
I am looking for people who are interested in maintaining specifically the pre-commit portion of this project. It takes quite a bit of mental energy for me to answer issues and requests related to pre-commit, and they are always subpar because I don't actually know much of anything about the nuances of the tool and how people use it. Users are destined to get subpar answers from me. If you are a pre-commit user with an interest in this tool, please reach out on this discussion and we can talk about establishing some kind of relationship for how to handle issues like this in the future to hopefully avoid breakages like v0.18.0.
Beta Was this translation helpful? Give feedback.
All reactions