Fix flake8 errors
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
[flake8]
|
[flake8]
|
||||||
ignore = E501,W503
|
ignore = E501,W503,E741
|
||||||
application-import-names = cibuildwheel
|
application-import-names = cibuildwheel
|
||||||
exclude =
|
exclude =
|
||||||
cibuildwheel/resources/,
|
cibuildwheel/resources/,
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import os
|
import os
|
||||||
import io
|
|
||||||
import jinja2
|
import jinja2
|
||||||
from typing import Union, Dict, Any
|
from typing import Union, Dict, Any
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,9 @@ def test(tmp_path):
|
|||||||
def test_overridden_path(tmp_path):
|
def test_overridden_path(tmp_path):
|
||||||
project_dir = tmp_path / 'project'
|
project_dir = tmp_path / 'project'
|
||||||
output_dir = tmp_path / 'output'
|
output_dir = tmp_path / 'output'
|
||||||
new_c_project().generate(project_dir)
|
|
||||||
|
project = template_projects.new_c_project()
|
||||||
|
project.generate(project_dir)
|
||||||
output_dir.mkdir()
|
output_dir.mkdir()
|
||||||
|
|
||||||
# mess up PATH, somehow
|
# mess up PATH, somehow
|
||||||
|
|||||||
Reference in New Issue
Block a user