From ba0d71bef189d90386d9872d1be2a5df76f23e81 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sun, 16 Dec 2018 15:53:21 +0100 Subject: [PATCH] Simplify tox.ini --- tox.ini | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/tox.ini b/tox.ini index 92d61f87..6ce07f42 100644 --- a/tox.ini +++ b/tox.ini @@ -2,8 +2,14 @@ envlist = py27, py34, py35, py36 [testenv] extras = testing +deps = +# for testing the typing module + py27: typing + py34: typing +# numpydoc for typing scipy stack + numpydoc + cov: coverage # Overwrite the parso version (only used sometimes). -# deps = # git+https://github.com/davidhalter/parso.git passenv = JEDI_TEST_ENVIRONMENT setenv = @@ -19,26 +25,7 @@ setenv = env37: JEDI_TEST_ENVIRONMENT=37 commands = pytest {posargs:jedi test} -[testenv:py27] -deps = -# for testing the typing module - typing -# numpydoc for typing scipy stack - numpydoc -[testenv:py34] -deps = - typing - numpydoc -[testenv:py35] -deps = - numpydoc -[testenv:py36] -deps = - numpydoc [testenv:cov] -deps = - coverage - numpydoc commands = coverage run --source jedi -m pytest coverage report