From b579c53e323c9fb15e181294bd30e542a8601fc0 Mon Sep 17 00:00:00 2001 From: Carsten Grohmann Date: Mon, 13 Mar 2023 11:05:58 +0100 Subject: [PATCH] Remove double space character --- pre_commit/resources/hook-tmpl | 2 +- tests/commands/install_uninstall_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pre_commit/resources/hook-tmpl b/pre_commit/resources/hook-tmpl index 53d29f95..64f81f0a 100755 --- a/pre_commit/resources/hook-tmpl +++ b/pre_commit/resources/hook-tmpl @@ -15,6 +15,6 @@ if [ -x "$INSTALL_PYTHON" ]; then elif command -v pre-commit > /dev/null; then exec pre-commit "${ARGS[@]}" else - echo '`pre-commit` not found. Did you forget to activate your virtualenv?' 1>&2 + echo '`pre-commit` not found. Did you forget to activate your virtualenv?' 1>&2 exit 1 fi diff --git a/tests/commands/install_uninstall_test.py b/tests/commands/install_uninstall_test.py index 8b0d3ece..78f8042f 100644 --- a/tests/commands/install_uninstall_test.py +++ b/tests/commands/install_uninstall_test.py @@ -291,7 +291,7 @@ def test_environment_not_sourced(tempdir_factory, store): ret, out = git_commit(env=env, check=False) assert ret == 1 assert out == ( - '`pre-commit` not found. ' + '`pre-commit` not found. ' 'Did you forget to activate your virtualenv?\n' )