Use set rather than list for commit message related stages, remove

default file open modes, tidy up bash call for failing hook test
This commit is contained in:
Marc Jay 2019-04-21 21:58:01 +01:00
parent 64467f6ab9
commit 82969e4ba3
4 changed files with 5 additions and 5 deletions

View file

@ -171,7 +171,7 @@ def failing_prepare_commit_msg_repo(tempdir_factory):
'hooks': [{
'id': 'add-signoff',
'name': 'Add "Signed off by:"',
'entry': '/usr/bin/env bash -c "exit 1"',
'entry': 'bash -c "exit 1"',
'language': 'system',
'stages': ['prepare-commit-msg'],
}],