From 1d88c27530c76e423c32cf1342d040bb88551fe7 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Thu, 25 Jun 2020 12:41:21 +0100 Subject: [PATCH] Neaten function call whitespace --- cibuildwheel/macos.py | 18 ++++++++---------- cibuildwheel/windows.py | 17 +++++++---------- 2 files changed, 15 insertions(+), 20 deletions(-) diff --git a/cibuildwheel/macos.py b/cibuildwheel/macos.py index 0c268f4c..99e089df 100644 --- a/cibuildwheel/macos.py +++ b/cibuildwheel/macos.py @@ -201,16 +201,14 @@ def build(options: BuildOptions) -> None: # Path.resolve() is needed. Without it pip wheel may try to fetch package from pypi.org # see https://github.com/joerick/cibuildwheel/pull/369 - call( - [ - 'pip', 'wheel', - options.package_dir.resolve(), - '-w', built_wheel_dir, - '--no-deps', - *get_build_verbosity_extra_flags(options.build_verbosity) - ], - env=env, - ) + call([ + 'pip', 'wheel', + options.package_dir.resolve(), + '-w', built_wheel_dir, + '--no-deps', + *get_build_verbosity_extra_flags(options.build_verbosity) + ], env=env) + built_wheel = next(built_wheel_dir.glob('*.whl')) # repair the wheel diff --git a/cibuildwheel/windows.py b/cibuildwheel/windows.py index 9f67c6c4..f5dc686c 100644 --- a/cibuildwheel/windows.py +++ b/cibuildwheel/windows.py @@ -185,16 +185,13 @@ def build(options: BuildOptions) -> None: built_wheel_dir.mkdir(parents=True) # Path.resolve() is needed. Without it pip wheel may try to fetch package from pypi.org # see https://github.com/joerick/cibuildwheel/pull/369 - shell( - [ - 'pip', 'wheel', - options.package_dir.resolve(), - '-w', built_wheel_dir, - '--no-deps', - *get_build_verbosity_extra_flags(options.build_verbosity) - ], - env=env, - ) + shell([ + 'pip', 'wheel', + options.package_dir.resolve(), + '-w', built_wheel_dir, + '--no-deps', + *get_build_verbosity_extra_flags(options.build_verbosity) + ], env=env) built_wheel = next(built_wheel_dir.glob('*.whl'))