mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Fixups to make appveyor happy
This commit is contained in:
parent
1e5c3324e3
commit
b6937f33e2
8 changed files with 41 additions and 43 deletions
|
|
@ -32,8 +32,7 @@ def get_env_patch(venv):
|
|||
|
||||
@contextlib.contextmanager
|
||||
def in_env(repo_cmd_runner, language_version):
|
||||
envdir = os.path.join(
|
||||
repo_cmd_runner.prefix_dir,
|
||||
envdir = repo_cmd_runner.path(
|
||||
helpers.environment_dir(ENVIRONMENT_DIR, language_version),
|
||||
)
|
||||
with envcontext(get_env_patch(envdir)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue