mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
style fix
This commit is contained in:
parent
5adc7edc4f
commit
0b516b31de
1 changed files with 8 additions and 1 deletions
|
|
@ -196,7 +196,14 @@ def install_environment(
|
|||
python = norm_version(version)
|
||||
if python is not None:
|
||||
venv_cmd.extend(('-p', python))
|
||||
install_cmd = ('python', '-mpip', 'install', '--isolated', '.', *additional_dependencies)
|
||||
install_cmd = (
|
||||
'python',
|
||||
'-mpip',
|
||||
'install',
|
||||
'--isolated',
|
||||
'.',
|
||||
*additional_dependencies,
|
||||
)
|
||||
|
||||
with clean_path_on_failure(envdir):
|
||||
cmd_output_b(*venv_cmd, cwd='/')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue