Add an option to require a specific pre-commit version

This commit is contained in:
Anthony Sottile 2015-12-06 17:40:18 -08:00
parent c24f78b1a5
commit ce307a16e0
5 changed files with 68 additions and 0 deletions

View file

@ -27,6 +27,7 @@ def test_manifest_contents(manifest):
'id': 'bash_hook',
'language': 'script',
'language_version': 'default',
'minimum_pre_commit_version': '0.0.0',
'name': 'Bash hook',
'stages': [],
}]
@ -42,6 +43,7 @@ def test_hooks(manifest):
'id': 'bash_hook',
'language': 'script',
'language_version': 'default',
'minimum_pre_commit_version': '0.0.0',
'name': 'Bash hook',
'stages': [],
}