Skip to content

Commit dc5fea0

Browse files
committed
Fix linter again
1 parent d0b86b9 commit dc5fea0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

ci/docker/python-free-threaded-wheel-windows-test-vs2022.dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ FROM ${base}
2626

2727
ARG python=3.13
2828

29-
# hadolint ignore=SC1072
30-
RUN (if "%python%"=="3.13" setx PYTHON_VERSION "3.13.1") & \
31-
(if "%python%"=="3.14" setx PYTHON_VERSION "3.14.0-rc3")
29+
RUN if "%python%"=="3.13" (setx PYTHON_VERSION "3.13.1") & \
30+
if "%python%"=="3.14" (setx PYTHON_VERSION "3.14.0-rc3")
3231

3332
SHELL ["powershell", "-NoProfile", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
3433
RUN $version = $env:PYTHON_VERSION; \
@@ -40,9 +39,8 @@ RUN $version = $env:PYTHON_VERSION; \
4039
ENV PYTHON_CMD="py -${python}t"
4140

4241
SHELL ["cmd", "/S", "/C"]
43-
RUN %PYTHON_CMD% -m pip install -U pip setuptools
44-
45-
RUN if "%python%"=="3.13" ( \
42+
RUN %PYTHON_CMD% -m pip install -U pip setuptools & \
43+
if "%python%"=="3.13" ( \
4644
setx REQUIREMENTS_FILE "requirements-wheel-test-3.13t.txt" \
4745
) else ( \
4846
setx REQUIREMENTS_FILE "requirements-wheel-test.txt" \

0 commit comments

Comments
 (0)