Hashar has uploaded a new change for review. https://gerrit.wikimedia.org/r/312236
Change subject: tox: add a 'venv' to run abitrary command ...................................................................... tox: add a 'venv' to run abitrary command Let ones runs arbitrary commands in a virtualenv that has the proper dependencies. Example: tox -e venv -- sphinx-quickstart Change-Id: I73d9bcdce872da1d53d7932f408836a28b212fbb --- M tox.ini 1 file changed, 8 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/software/elasticsearch-tool refs/changes/36/312236/1 diff --git a/tox.ini b/tox.ini index 33c7dcd..5681170 100644 --- a/tox.ini +++ b/tox.ini @@ -13,6 +13,14 @@ -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt +[testenv:venv] +# Let you run arbitrary commands: +# tox -e venv -- sphinx-buildo +commands = {posargs} +deps = + -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt + [testenv:flake8] deps = flake8 commands = flake8 setup.py estool tests -- To view, visit https://gerrit.wikimedia.org/r/312236 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I73d9bcdce872da1d53d7932f408836a28b212fbb Gerrit-PatchSet: 1 Gerrit-Project: operations/software/elasticsearch-tool Gerrit-Branch: master Gerrit-Owner: Hashar <has...@free.fr> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits