Fix coverage on check_symlinks for windows
diff --git a/pre_commit_hooks/check_symlinks.py b/pre_commit_hooks/check_symlinks.py index d0f0f09..3fcaecc 100644 --- a/pre_commit_hooks/check_symlinks.py +++ b/pre_commit_hooks/check_symlinks.py
@@ -15,7 +15,10 @@ retv = 0 for filename in args.filenames: - if os.path.islink(filename) and not os.path.exists(filename): + if ( + os.path.islink(filename) and + not os.path.exists(filename) + ): # pragma no cover (symlink support required) print('{0}: Broken symlink'.format(filename)) retv = 1