pre-commit-hooks
pre-commit-hooks copied to clipboard
Configurable `uncrustify` executable path for the uncrustify hook
I have seen in the hook's code that uncrustify
is hardcoded as a command. It would be really useful to specify some custom path for the executable, e.g. /home/skelly37/.local/bin/uncrustify
, so the end-user can have multiple uncrustify installations or so they do not have to mess with the system's PATH
If I can already do something like this, I would appreciate showing me how to do it.