From 49bbbec7f098d1d55af60555c261431ffa89728e Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Wed, 8 Apr 2020 10:24:16 +0200 Subject: [PATCH] Fix flake8 whitespace warnings --- cibuildwheel/macos.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cibuildwheel/macos.py b/cibuildwheel/macos.py index 714e37e5..379c2853 100644 --- a/cibuildwheel/macos.py +++ b/cibuildwheel/macos.py @@ -115,7 +115,7 @@ def setup_python(python_configuration, dependency_constraint_flags, environment) installation_bin_path = install_pypy(python_configuration.version, python_configuration.url) else: raise ValueError("Unknown Python implementation") - + env = os.environ.copy() env['PATH'] = os.pathsep.join([ SYMLINKS_DIR, @@ -174,15 +174,13 @@ def build(project_dir, output_dir, test_command, before_test, test_requires, tes python_configurations = get_python_configurations(build_selector) for config in python_configurations: - dependency_constraint_flags = [] if dependency_constraints: dependency_constraint_flags = [ '-c', dependency_constraints.get_for_python_version(config.version) ] - - env = setup_python(config, dependency_constraint_flags, environment) + env = setup_python(config, dependency_constraint_flags, environment) # run the before_build command if before_build: