NULL (invisibly). The function is called for its side effects.
Arguments
scope
Either "repo" or "user". "repo" removes pre-commit from your
project, but you will be able to use it in other projects. With "user",
you remove the pre-commit executable in the virtual python environment
r-precommit so it won't be available in any project. When you want to do
the latter, you should first do the former.
ask
Either "user", "repo" or "none" to determine in which case
a prompt should show up to let the user confirm his action.
root
The path to the root directory of your project.
See Also
Other executable managers:
install_precommit(),
update_precommit(),
version_precommit()