mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 10:01:46 +04:00
Add types to manifests, make it and files optional
This commit is contained in:
parent
cebba0404d
commit
a4e9394cc7
3 changed files with 18 additions and 5 deletions
|
|
@ -25,6 +25,7 @@ def test_manifest_contents(manifest):
|
|||
'entry': 'bin/hook.sh',
|
||||
'exclude': '^$',
|
||||
'files': '',
|
||||
'types': ['file'],
|
||||
'id': 'bash_hook',
|
||||
'language': 'script',
|
||||
'language_version': 'default',
|
||||
|
|
@ -42,6 +43,7 @@ def test_hooks(manifest):
|
|||
'entry': 'bin/hook.sh',
|
||||
'exclude': '^$',
|
||||
'files': '',
|
||||
'types': ['file'],
|
||||
'id': 'bash_hook',
|
||||
'language': 'script',
|
||||
'language_version': 'default',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue