Fix flake8
This commit is contained in:
@@ -202,7 +202,6 @@ def main():
|
|||||||
before_test=before_test,
|
before_test=before_test,
|
||||||
dependency_constraints=dependency_constraints,
|
dependency_constraints=dependency_constraints,
|
||||||
manylinux_images=manylinux_images
|
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'
|
# Python is buffering by default when running on the CI platforms, giving problems interleaving subprocess call output with unflushed calls to 'print'
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ def build(options: BuildOptions):
|
|||||||
dependency_constraint_flags = [
|
dependency_constraint_flags = [
|
||||||
'-c', options.dependency_constraints.get_for_python_version(config.version)
|
'-c', options.dependency_constraints.get_for_python_version(config.version)
|
||||||
]
|
]
|
||||||
|
|
||||||
env = setup_python(config, dependency_constraint_flags, options.environment)
|
env = setup_python(config, dependency_constraint_flags, options.environment)
|
||||||
|
|
||||||
# run the before_build command
|
# run the before_build command
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
import urllib.request
|
import urllib.request
|
||||||
from fnmatch import fnmatch
|
from fnmatch import fnmatch
|
||||||
from time import sleep
|
from time import sleep
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ def test_test_extras(test_extras, platform_specific, platform, intercepted_build
|
|||||||
|
|
||||||
main()
|
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'])
|
@pytest.mark.parametrize('test_command', [None, 'test --command'])
|
||||||
|
|||||||
Reference in New Issue
Block a user