fix flake8 errors
This commit is contained in:
@@ -16,7 +16,6 @@ def test():
|
|||||||
'CIBW_BEFORE_ALL': '''python -c "open('{project}/text_info.txt', 'w').write('sample text')"''',
|
'CIBW_BEFORE_ALL': '''python -c "open('{project}/text_info.txt', 'w').write('sample text')"''',
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
# also check that we got the right wheels
|
# also check that we got the right wheels
|
||||||
os.remove(os.path.join(project_dir, "text_info.txt"))
|
os.remove(os.path.join(project_dir, "text_info.txt"))
|
||||||
expected_wheels = utils.expected_wheels('spam', '0.1.0')
|
expected_wheels = utils.expected_wheels('spam', '0.1.0')
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
import os
|
|
||||||
import sys
|
|
||||||
|
|
||||||
from setuptools import (
|
from setuptools import (
|
||||||
Extension,
|
Extension,
|
||||||
setup,
|
setup,
|
||||||
@@ -11,11 +8,10 @@ from setuptools import (
|
|||||||
with open("text_info.txt") as f:
|
with open("text_info.txt") as f:
|
||||||
stored_text = f.read()
|
stored_text = f.read()
|
||||||
|
|
||||||
print("## stored text: "+stored_text)
|
print("## stored text: " + stored_text)
|
||||||
assert stored_text == "sample text"
|
assert stored_text == "sample text"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="spam",
|
name="spam",
|
||||||
ext_modules=[Extension('spam', sources=['spam.c'])],
|
ext_modules=[Extension('spam', sources=['spam.c'])],
|
||||||
|
|||||||
Reference in New Issue
Block a user