Skip to content

Commit 7a7863f

Browse files
committed
revisit ci/bootstrap.py
1 parent 912c27d commit 7a7863f

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

ci/bootstrap.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,14 @@
4848
# WARNING: 'tox' must be installed globally or in the project's virtualenv
4949
for line in subprocess.check_output(['tox', '--listenvs'], universal_newlines=True).splitlines()
5050
]
51-
tox_environments = [line for line in tox_environments if line not in ['clean', 'report', 'docs', 'check']]
51+
tox_environments = [line for line in tox_environments
52+
if line not in ['clean', 'report', 'docs', 'check']]
5253

5354
template_vars = {'tox_environments': tox_environments}
5455
for py_ver in '27 34 35 py'.split():
55-
template_vars['py%s_environments' % py_ver] = [x for x in tox_environments if x.startswith('py' + py_ver)]
56+
template_vars['py%s_environments' % py_ver] = [
57+
x for x in tox_environments
58+
if x.startswith('py' + py_ver)]
5659

5760
for name in os.listdir(join("ci", "templates")):
5861
with open(join(base_path, name), "w") as fh:

0 commit comments

Comments
 (0)