From a7971b7d26c8c2d1308826d1bd00a5c467341c2a Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Tue, 3 Jan 2017 12:56:22 -0800 Subject: [PATCH] appveyor installed git-lfs, fix coverage --- pre_commit_hooks/check_added_large_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre_commit_hooks/check_added_large_files.py b/pre_commit_hooks/check_added_large_files.py index b65c32a..5ef7f22 100644 --- a/pre_commit_hooks/check_added_large_files.py +++ b/pre_commit_hooks/check_added_large_files.py @@ -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 = [