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,
shutil.rmtree(wheel_directory)
shutil.copytree('dist', wheel_directory)
wheels = (f for f in os.listdir(wheel_directory)
if f.endswith('.whl'))
wheels = (
f for f in os.listdir(wheel_directory)
if f.endswith('.whl')
)
wheel, = wheels
return wheel
......@@ -175,8 +177,10 @@ def build_sdist(sdist_directory, config_settings=None):
["--dist-dir", sdist_directory]
_run_setup()
sdists = (f for f in os.listdir(sdist_directory)
if f.endswith('.tar.gz'))
sdists = (
f for f in os.listdir(sdist_directory)
if f.endswith('.tar.gz')
)
sdist, = sdists
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