mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 00:54:42 +04:00
Remove legacy 'hooks.yaml' file support
This commit is contained in:
parent
7aeb4fe0f7
commit
86d9ca053b
8 changed files with 3 additions and 76 deletions
|
|
@ -238,15 +238,6 @@ def test_system_hook_with_spaces(tempdir_factory, store):
|
|||
)
|
||||
|
||||
|
||||
@pytest.mark.integration
|
||||
def test_repo_with_legacy_hooks_yaml(tempdir_factory, store):
|
||||
_test_hook_repo(
|
||||
tempdir_factory, store, 'legacy_hooks_yaml_repo',
|
||||
'system-hook-with-spaces', ['/dev/null'], b'Hello World\n',
|
||||
config_kwargs={'legacy': True},
|
||||
)
|
||||
|
||||
|
||||
@skipif_cant_run_swift
|
||||
@pytest.mark.integration
|
||||
def test_swift_hook(tempdir_factory, store):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue