Introduce .pre-commit-hooks.yaml as a replacement for hooks.yaml

This commit is contained in:
Anthony Sottile 2017-01-21 13:07:37 -08:00
parent b90a598fac
commit b9e5184ebd
32 changed files with 107 additions and 21 deletions

9
tests/meta_test.py Normal file
View file

@ -0,0 +1,9 @@
import io
import pre_commit.constants as C
def test_hooks_yaml_same_contents():
legacy_contents = io.open(C.MANIFEST_FILE_LEGACY).read()
contents = io.open(C.MANIFEST_FILE).read()
assert legacy_contents == contents