From 7b0ac9e107dd7cb89e235d95d9279b0c05dfb3f5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 31 Aug 2022 20:08:59 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- cibuildwheel/windows.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/cibuildwheel/windows.py b/cibuildwheel/windows.py index 205df98d..5406d6c0 100644 --- a/cibuildwheel/windows.py +++ b/cibuildwheel/windows.py @@ -373,7 +373,9 @@ def setup_python( if python_libs_base: # Set up the environment for various backends to enable cross-compilation - setup_setuptools_cross_compile(python_configuration, python_libs_base, env, cleanup_command_list) + setup_setuptools_cross_compile( + python_configuration, python_libs_base, env, cleanup_command_list + ) setup_rust_cross_compile(python_configuration, python_libs_base, env, cleanup_command_list) return env @@ -443,7 +445,9 @@ def build(options: Options, tmp_path: Path) -> None: if build_options.before_build: log.step("Running before_build...") before_build_prepared = prepare_command( - build_options.before_build, project=".", package=options.globals.package_dir + build_options.before_build, + project=".", + package=options.globals.package_dir, ) shell(before_build_prepared, env=env) @@ -511,7 +515,9 @@ def build(options: Options, tmp_path: Path) -> None: if build_options.repair_command: log.step("Repairing wheel...") repair_command_prepared = prepare_command( - build_options.repair_command, wheel=built_wheel, dest_dir=repaired_wheel_dir + build_options.repair_command, + wheel=built_wheel, + dest_dir=repaired_wheel_dir, ) shell(repair_command_prepared, env=env) else: