Merge pull request #163 from pre-commit/update_no_cover_for_appveyor

appveyor installed git-lfs, fix coverage
This commit is contained in:
Anthony Sottile 2017-01-03 16:00:54 -05:00 committed by GitHub
commit 9c0460baa0

View file

@ -15,7 +15,7 @@ from pre_commit_hooks.util import cmd_output
def lfs_files():
try: # pragma: no cover (no git-lfs)
lines = cmd_output('git', 'lfs', 'status', '--porcelain').splitlines()
except CalledProcessError:
except CalledProcessError: # pragma: no cover (with git-lfs)
lines = []
modes_and_fileparts = [