Learn R Programming

precommit (version 0.0.0.9029)

uninstall_precommit: Unistall pre-commit

Description

Remove pre-commit from a repo or from your system.

Usage

uninstall_precommit(scope = "repo", ask = "global", path_root = ".")

Arguments

scope

Either "repo" or "global". "repo" removes pre-commit from your project, but you will be able to use it in other projects. With "global", you remove the pre-commit executable in the virtual python environment r-reticulate so it won't be available in any project. When you want to remove pre-commit globally, you should remote it locally first.

ask

Either "global", "repo" or "none" to determine in which case a prompt should show up to let the user confirm his action.

path_root

The path to the root directory of your project.