-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable uncrustify
executable path for the uncrustify hook
#57
Comments
skelly37
changed the title
Configurable
Configurable Dec 23, 2022
uncrustify
executable path for the uncrustify
executable path for the uncrustify hook
also want to know how to provide custom path to uncrustify.cfg that is not necessarily at the root level |
@bakkiraju It is actually handled by the hooks:
- id: uncrustify
args: [-c, path/to/uncrustify.cfg] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 PATHIf I can already do something like this, I would appreciate showing me how to do it.
The text was updated successfully, but these errors were encountered: