From 08605d822cdf05ee12d3f5d936ee1b4c4f46bb70 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 9 Oct 2024 08:23:31 +0200 Subject: Adding upstream version 4.0.1. Signed-off-by: Daniel Baumann --- pre_commit/languages/haskell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pre_commit/languages/haskell.py') diff --git a/pre_commit/languages/haskell.py b/pre_commit/languages/haskell.py index c6945c8..28bca08 100644 --- a/pre_commit/languages/haskell.py +++ b/pre_commit/languages/haskell.py @@ -24,7 +24,7 @@ def get_env_patch(target_dir: str) -> PatchesT: @contextlib.contextmanager -def in_env(prefix: Prefix, version: str) -> Generator[None, None, None]: +def in_env(prefix: Prefix, version: str) -> Generator[None]: envdir = lang_base.environment_dir(prefix, ENVIRONMENT_DIR, version) with envcontext(get_env_patch(envdir)): yield -- cgit v1.2.3