mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 01:51:46 +04:00
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:
parent
64467f6ab9
commit
82969e4ba3
4 changed files with 5 additions and 5 deletions
|
|
@ -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'],
|
||||
}],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue