diff options
Diffstat (limited to 'pre_commit/languages/golang.py')
-rw-r--r-- | pre_commit/languages/golang.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pre_commit/languages/golang.py b/pre_commit/languages/golang.py index 66e07cf..6090879 100644 --- a/pre_commit/languages/golang.py +++ b/pre_commit/languages/golang.py @@ -121,7 +121,7 @@ def _install_go(version: str, dest: str) -> None: @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, version)): yield |