no cover some non-lfs lines
diff --git a/pre_commit_hooks/check_added_large_files.py b/pre_commit_hooks/check_added_large_files.py index 3a53fe3..03e88b8 100644 --- a/pre_commit_hooks/check_added_large_files.py +++ b/pre_commit_hooks/check_added_large_files.py
@@ -23,7 +23,7 @@ (line[:3].strip(), line[3:].rpartition(' ')[0]) for line in lines ] - def to_file_part(mode, filepart): + def to_file_part(mode, filepart): # pragma: no cover (no git-lfs) assert mode in ('A', 'R') return filepart if mode == 'A' else filepart.split(' -> ')[1]