]> git.phdru.name Git - cookiecutter.git/commitdiff
Tests(tox.ini): Simplify [general]: run {[testenv]commands}
authorOleg Broytman <phd@phdru.name>
Sun, 17 Dec 2017 11:08:33 +0000 (14:08 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 17 Dec 2017 11:08:33 +0000 (14:08 +0300)
project_template/tox.ini

index 1b8aec7aab6a5e1d48453476de70197d48333983..1b17425f0e3bd958f0bf037930abe6d7fa0a7843 100644 (file)
@@ -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]