summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorRadomir Dopieralski <openstack@sheep.art.pl>2019-11-12 14:39:08 +0100
committerRadomir Dopieralski <openstack@sheep.art.pl>2019-11-12 14:39:08 +0100
commite4025301a4cc060237dbf40b25d97a4121802b60 (patch)
treec186d0ccf1ccd8a37a87a335a700d3f3546f01d1 /tox.ini
parentb068440330d28b28df1050c75ebecc8a44050db8 (diff)
downloadhorizon-e4025301a4cc060237dbf40b25d97a4121802b60.tar.gz
Make tox -e runserver work faster
Compiling translation messages on every run of runserver makes it very slow and inconvenient for development. Editing of the translations is done rarely, and compilemessages can be run manually when it does happen. I'm also adding -v 0 to all the manage commands, to make it output less garbage to the screen, making it a little easier to find actual errors during development. Change-Id: I95db4505c3a9cd5b2ecc3e6ad6a30d438a4447b9
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 2 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 5da8e7ed5..29fa7404f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -149,9 +149,8 @@ commands = {envpython} {toxinidir}/manage.py {posargs}
[testenv:runserver]
envdir = {toxworkdir}/venv
commands =
- {envpython} {toxinidir}/manage.py compilemessages
- {envpython} {toxinidir}/manage.py collectstatic -c --noinput
- {envpython} {toxinidir}/manage.py runserver {posargs}
+ {envpython} {toxinidir}/manage.py collectstatic -v 0 -c --noinput
+ {envpython} {toxinidir}/manage.py runserver -v 0 {posargs}
[testenv:bandit]
envdir = {toxworkdir}/venv