To comply with shellcheck

This commit is contained in:
Alan 2021-12-22 22:55:47 +00:00
parent 44687a3cda
commit 7dcad7e5c7
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -257,8 +257,8 @@ def test_environment_not_sourced(tempdir_factory, store):
)
assert ret == 1
assert out == (
'`pre-commit` not found. '
'Did you forget to activate your virtualenv?\n'
"'pre-commit' not found. "
"Did you forget to activate your virtualenv?\n"
)