From 59525006773b06c85945ba27836d7967d7ac697a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 04:38:31 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- winbuild/build_prepare.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/winbuild/build_prepare.py b/winbuild/build_prepare.py index a05c0c08c..8c31a813b 100644 --- a/winbuild/build_prepare.py +++ b/winbuild/build_prepare.py @@ -104,8 +104,16 @@ SF_PROJECTS = "https://sourceforge.net/projects" ARCHITECTURES = { "x86": {"vcvars_arch": "x86", "msbuild_arch": "Win32", "zlibng_arch": "x86"}, - "AMD64": {"vcvars_arch": "x86_amd64", "msbuild_arch": "x64", "zlibng_arch": "x86-64"}, - "ARM64": {"vcvars_arch": "x86_arm64", "msbuild_arch": "ARM64", "zlibng_arch": "arm64"}, + "AMD64": { + "vcvars_arch": "x86_amd64", + "msbuild_arch": "x64", + "zlibng_arch": "x86-64", + }, + "ARM64": { + "vcvars_arch": "x86_arm64", + "msbuild_arch": "ARM64", + "zlibng_arch": "arm64", + }, } V = { @@ -161,7 +169,7 @@ DEPS: dict[str, dict[str, Any]] = { }, "zlib": { "url": f"https://github.com/zlib-ng/zlib-ng/releases/download/{V['ZLIBNG']}/zlib-ng-win-{{zlibng_arch}}-compat.zip", - "filename": f"zlib-ng-win-{{zlibng_arch}}-compat.zip", + "filename": "zlib-ng-win-{zlibng_arch}-compat.zip", "dir": "", "release": f"zlib-ng-{V['ZLIBNG']}", "license": "LICENSE.md",