summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorStephen Finucane <stephen.finucane@intel.com>2016-01-19 22:05:45 +0000
committerStephen Finucane <stephen.finucane@intel.com>2016-01-25 16:09:36 +0000
commitde99fa861b1fc85a5be45e941a233ba8bba58200 (patch)
tree162c9d0bc5ba979f06cf0507e525f4d032fd6ed7 /tox.ini
parent8e58c29f23b9cc072c003268d641f00084ce3b3b (diff)
downloadpatchwork-de99fa861b1fc85a5be45e941a233ba8bba58200.tar
patchwork-de99fa861b1fc85a5be45e941a233ba8bba58200.tar.gz
tox: Add 'venv' target
The venv command provides access to the tox virtual environment without the need to source the actual virtualenv 'activate' file. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index a5e20a8..dcc6ed8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -38,6 +38,9 @@ deps =
-r{toxinidir}/requirements-prod.txt
commands = pylint patchwork --rcfile=pylint.rc
+[testenv:venv]
+commands = {posargs}
+
[testenv:coverage]
basepython = python2.7
deps =