diff options
author | Radomir Dopieralski <openstack@sheep.art.pl> | 2019-11-12 14:39:08 +0100 |
---|---|---|
committer | Radomir Dopieralski <openstack@sheep.art.pl> | 2019-11-12 14:39:08 +0100 |
commit | e4025301a4cc060237dbf40b25d97a4121802b60 (patch) | |
tree | c186d0ccf1ccd8a37a87a335a700d3f3546f01d1 /tox.ini | |
parent | b068440330d28b28df1050c75ebecc8a44050db8 (diff) | |
download | horizon-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.ini | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |