From de99fa861b1fc85a5be45e941a233ba8bba58200 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 19 Jan 2016 22:05:45 +0000 Subject: [PATCH] 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 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index a5e20a8f..dcc6ed8e 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 = -- 2.47.3