mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 17:14:43 +04:00
Add an option to require a specific pre-commit version
This commit is contained in:
parent
c24f78b1a5
commit
ce307a16e0
5 changed files with 68 additions and 0 deletions
|
|
@ -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': [],
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue