Refactor meta hooks

This commit is contained in:
Paul Hooijenga
2017-10-28 13:59:11 +02:00
parent a0a8fc15ff
commit 9db827ef9d
8 changed files with 329 additions and 164 deletions

View File

@@ -729,7 +729,7 @@ def test_meta_hook_not_present(store, fake_log_handler):
assert fake_log_handler.handle.call_args[0][0].msg == (
'`i-dont-exist` is not a valid meta hook. '
'Typo? Perhaps it is introduced in a newer version? '
'Often `pre-commit autoupdate` fixes this.'
'Often `pip install --upgrade pre-commit` fixes this.'
)