mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-09 21:04:17 +00:00
Remove meta test as hooks are now skipped with no files.
This commit is contained in:
parent
1c9ce9dfd2
commit
203256bcb3
1 changed files with 0 additions and 12 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue