From 89f9e658ce88dbc6c047d4b69e3a0b0b08881886 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Jan 2023 00:04:15 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- winbuild/test_docker.ps1 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/winbuild/test_docker.ps1 b/winbuild/test_docker.ps1 index 420210e6f6b..383ca441727 100644 --- a/winbuild/test_docker.ps1 +++ b/winbuild/test_docker.ps1 @@ -2,13 +2,13 @@ param ([string]$python,[string]$arch,[string]$pypy="") $ErrorActionPreference = 'Stop' $ProgressPreference = 'SilentlyContinue' if ($python -like "pypy*") { - $url = 'https://downloads.python.org/pypy/{0}-v{1}-win64.zip' -f ($python, $pypy) - [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 - Invoke-WebRequest -Uri 'https://aka.ms/vs/15/release/vc_redist.x64.exe' -OutFile 'vc_redist.x64.exe' - & C:\vc_redist.x64.exe /install /quiet /norestart - Invoke-WebRequest -Uri $url -OutFile 'pypy.zip' - tar -xf 'pypy.zip' - mv pypy*-win64 C:\Python + $url = 'https://downloads.python.org/pypy/{0}-v{1}-win64.zip' -f ($python, $pypy) + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 + Invoke-WebRequest -Uri 'https://aka.ms/vs/15/release/vc_redist.x64.exe' -OutFile 'vc_redist.x64.exe' + & C:\vc_redist.x64.exe /install /quiet /norestart + Invoke-WebRequest -Uri $url -OutFile 'pypy.zip' + tar -xf 'pypy.zip' + mv pypy*-win64 C:\Python } else { $suffix = if ($arch -eq "x64") {"-amd64"} else {""} $url = 'https://www.python.org/ftp/python/{0}/python-{0}{1}.exe' -f ($python, $suffix)