pre-commit-hooks icon indicating copy to clipboard operation
pre-commit-hooks copied to clipboard

Configurable `uncrustify` executable path for the uncrustify hook

Open skelly37 opened this issue 1 year ago • 2 comments

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.

skelly37 avatar Dec 23 '22 12:12 skelly37