mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-05-03 13:59:12 -05:00
Add more 'no cover windows' comments
This commit is contained in:
@@ -39,7 +39,7 @@ def _hook_paths(hook_type):
|
||||
|
||||
|
||||
def is_our_script(filename):
|
||||
if not os.path.exists(filename):
|
||||
if not os.path.exists(filename): # pragma: windows no cover (symlink)
|
||||
return False
|
||||
with io.open(filename) as f:
|
||||
contents = f.read()
|
||||
|
||||
Reference in New Issue
Block a user