Fix flake8

This commit is contained in:
Yannick Jadoul
2020-04-09 14:37:12 +02:00
parent eff997d12e
commit 25f2e8cb46
4 changed files with 2 additions and 4 deletions
-1
View File
@@ -202,7 +202,6 @@ def main():
before_test=before_test,
dependency_constraints=dependency_constraints,
manylinux_images=manylinux_images
)
# Python is buffering by default when running on the CI platforms, giving problems interleaving subprocess call output with unflushed calls to 'print'
+1 -1
View File
@@ -181,7 +181,7 @@ def build(options: BuildOptions):
dependency_constraint_flags = [
'-c', options.dependency_constraints.get_for_python_version(config.version)
]
env = setup_python(config, dependency_constraint_flags, options.environment)
# run the before_build command
-1
View File
@@ -1,5 +1,4 @@
import os
import sys
import urllib.request
from fnmatch import fnmatch
from time import sleep
+1 -1
View File
@@ -164,7 +164,7 @@ def test_test_extras(test_extras, platform_specific, platform, intercepted_build
main()
assert intercepted_build_args.args[0],test_extras == ('[' + test_extras + ']' if test_extras else '')
assert intercepted_build_args.args[0].test_extras == ('[' + test_extras + ']' if test_extras else '')
@pytest.mark.parametrize('test_command', [None, 'test --command'])