Still haven't landed on a good solution to format files with a git commit hook. I want it to support partial commits too, which my current pre-commit script running ktfmt doesn't.
I think python pre-commit also does not do what I want and it introduces a new dependency.
Spotless has a pre-push hook but (unlike younger me) I just want commit and have the files formatted, not just checked.
There's lint-staged and husky for node but for Gradle I've not found much. What are y'all using?
