@@ -30,7 +30,7 @@ def _envdir(prefix: Prefix, version: str) -> str:
3030 return prefix .path (directory )
3131
3232
33- def get_env_patch (venv : str ) -> PatchesT : # pragma: windows no cover
33+ def get_env_patch (venv : str ) -> PatchesT :
3434 if sys .platform == 'cygwin' : # pragma: no cover
3535 _ , win_venv , _ = cmd_output ('cygpath' , '-w' , venv )
3636 install_prefix = fr'{ win_venv .strip ()} \bin'
@@ -54,14 +54,14 @@ def get_env_patch(venv: str) -> PatchesT: # pragma: windows no cover
5454def in_env (
5555 prefix : Prefix ,
5656 language_version : str ,
57- ) -> Generator [None , None , None ]: # pragma: windows no cover
57+ ) -> Generator [None , None , None ]:
5858 with envcontext (get_env_patch (_envdir (prefix , language_version ))):
5959 yield
6060
6161
6262def install_environment (
6363 prefix : Prefix , version : str , additional_dependencies : Sequence [str ],
64- ) -> None : # pragma: windows no cover
64+ ) -> None :
6565 additional_dependencies = tuple (additional_dependencies )
6666 assert prefix .exists ('package.json' )
6767 envdir = _envdir (prefix , version )
@@ -91,6 +91,6 @@ def run_hook(
9191 hook : 'Hook' ,
9292 file_args : Sequence [str ],
9393 color : bool ,
94- ) -> Tuple [int , bytes ]: # pragma: windows no cover
94+ ) -> Tuple [int , bytes ]:
9595 with in_env (hook .prefix , hook .language_version ):
9696 return helpers .run_xargs (hook , hook .cmd , file_args , color = color )
0 commit comments