Commit 7378e6be authored by Jason R. Coombs's avatar Jason R. Coombs

Avoid hanging indent

parent cc9305b9
...@@ -160,8 +160,10 @@ def build_wheel(wheel_directory, config_settings=None, ...@@ -160,8 +160,10 @@ def build_wheel(wheel_directory, config_settings=None,
shutil.rmtree(wheel_directory) shutil.rmtree(wheel_directory)
shutil.copytree('dist', wheel_directory) shutil.copytree('dist', wheel_directory)
wheels = (f for f in os.listdir(wheel_directory) wheels = (
if f.endswith('.whl')) f for f in os.listdir(wheel_directory)
if f.endswith('.whl')
)
wheel, = wheels wheel, = wheels
return wheel return wheel
...@@ -175,8 +177,10 @@ def build_sdist(sdist_directory, config_settings=None): ...@@ -175,8 +177,10 @@ def build_sdist(sdist_directory, config_settings=None):
["--dist-dir", sdist_directory] ["--dist-dir", sdist_directory]
_run_setup() _run_setup()
sdists = (f for f in os.listdir(sdist_directory) sdists = (
if f.endswith('.tar.gz')) f for f in os.listdir(sdist_directory)
if f.endswith('.tar.gz')
)
sdist, = sdists sdist, = sdists
return sdist return sdist
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment