From: Oleg Broytman Date: Sun, 17 Dec 2017 11:08:33 +0000 (+0300) Subject: Tests(tox.ini): Simplify [general]: run {[testenv]commands} X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=8056f75dccb26e0e821199b44a767293e1060158;p=cookiecutter.git Tests(tox.ini): Simplify [general]: run {[testenv]commands} --- diff --git a/project_template/tox.ini b/project_template/tox.ini index 1b8aec7..1b17425 100644 --- a/project_template/tox.ini +++ b/project_template/tox.ini @@ -24,31 +24,27 @@ whitelist_externals = [general] commands = + {[testenv]commands} python -m pytest --cov={project} [testenv:py27] commands = - {[testenv]commands} {[general]commands} [testenv:py33] commands = - {[testenv]commands} {[general]commands} [testenv:py34] commands = - {[testenv]commands} {[general]commands} [testenv:py35] commands = - {[testenv]commands} {[general]commands} [testenv:py36] commands = - {[testenv]commands} {[general]commands} [testenv:py27-flake8]