mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-06 16:29:05 -06:00
Refactor meta hooks
This commit is contained in:
@@ -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.'
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user