Remove meta test as hooks are now skipped with no files.
This commit is contained in:
parent
1c9ce9dfd2
commit
203256bcb3
|
@ -1,12 +0,0 @@
|
|||
|
||||
import subprocess
|
||||
|
||||
from pre_commit.clientlib.validate_manifest import load_manifest
|
||||
|
||||
|
||||
def test_all_hooks_allow_no_files():
|
||||
manifest = load_manifest('hooks.yaml')
|
||||
|
||||
for hook in manifest:
|
||||
if hook['id'] != 'pyflakes':
|
||||
subprocess.check_call([hook['entry']])
|
Loading…
Reference in New Issue