mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Implement no-dependency system and script hook types. Closes #39.
This commit is contained in:
parent
02660f7c0a
commit
c418f2b94e
14 changed files with 86 additions and 52 deletions
|
|
@ -45,7 +45,7 @@ def is_valid_according_to_schema(obj, schema):
|
|||
|
||||
@pytest.mark.parametrize(('manifest_obj', 'expected'), (
|
||||
([], False),
|
||||
([{'id': 'a', 'name': 'b', 'entry': 'c'}], True),
|
||||
([{'id': 'a', 'name': 'b', 'entry': 'c', 'language': 'python'}], True),
|
||||
(
|
||||
[{
|
||||
'id': 'a',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue