pre-commit install

Install the pre-commit script

Options

NameDescription
-h, --helpShow help message and exit
--color <color>Whether to use color in output. Defaults to `auto`
--config, -c <CONFIG>Path to alternate config file
-f, --overwriteOverwrite existing hooks / remove migration mode
install-hooksWhether to install hook environments for all environments in the config file
-t, --hook-type <HOOK_TYPE>Type of hook to install
--allow-missing-configWhether to allow a missing `pre-commit` configuration file or exit with a failure code