diff --git a/bob/devtools/scripts/development.py b/bob/devtools/scripts/development.py index f923934ebdb8332d16a8922d320919f34f6924f2..ec9676a7a8613539da0ec49f29faae31298bfbe8 100644 --- a/bob/devtools/scripts/development.py +++ b/bob/devtools/scripts/development.py @@ -89,8 +89,11 @@ def checkout(ctx, names, use_https, subfolder): subprocess.check_call(["pre-commit", "install"], cwd=dest) except subprocess.CalledProcessError: click.echo( - "pre-commit installation failed. Please install pre-commit manually." + "pre-commit git hook installation failed. " + "Please make sure you have pre-commit installed " + "and its binary is in the PATH." ) + raise # the group command must be at the end of this file for plugins to work.