mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 08:34:41 +04:00
Introduce .pre-commit-hooks.yaml as a replacement for hooks.yaml
This commit is contained in:
parent
b90a598fac
commit
b9e5184ebd
32 changed files with 107 additions and 21 deletions
|
|
@ -13,7 +13,7 @@ from testing.util import is_valid_according_to_schema
|
|||
@pytest.mark.parametrize(
|
||||
('input', 'expected_output'),
|
||||
(
|
||||
(['hooks.yaml'], 0),
|
||||
(['.pre-commit-hooks.yaml'], 0),
|
||||
(['non_existent_file.yaml'], 1),
|
||||
([get_resource_path('valid_yaml_but_invalid_manifest.yaml')], 1),
|
||||
([get_resource_path('non_parseable_yaml_file.notyaml')], 1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue