diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-10-09 06:23:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-10-09 06:23:34 +0000 |
commit | e7e717b1b64e29ff72c6ab4bf128bdb82f658089 (patch) | |
tree | 36d4d88c481a8dca5d31b7ef30ba8f4122a9a95f /pre_commit/languages/rust.py | |
parent | Releasing debian version 3.8.0-1. (diff) | |
download | pre-commit-e7e717b1b64e29ff72c6ab4bf128bdb82f658089.tar.xz pre-commit-e7e717b1b64e29ff72c6ab4bf128bdb82f658089.zip |
Merging upstream version 4.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pre_commit/languages/rust.py')
-rw-r--r-- | pre_commit/languages/rust.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pre_commit/languages/rust.py b/pre_commit/languages/rust.py index 5f9db8f..fd77a9d 100644 --- a/pre_commit/languages/rust.py +++ b/pre_commit/languages/rust.py @@ -61,7 +61,7 @@ def get_env_patch(target_dir: str, version: 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, version)): yield |