diff options
author | Akihiro Motoki <motoki@da.jp.nec.com> | 2014-10-10 05:16:31 +0900 |
---|---|---|
committer | Akihiro Motoki <motoki@da.jp.nec.com> | 2014-10-10 05:38:53 +0900 |
commit | b6857b5fa7bc2412b75f6136e966dfede83d5a8e (patch) | |
tree | 2cfe9e744fb4618010ace10a79e97b65e8fab295 /tox.ini | |
parent | 1b4b38aef2853a6e5a0c136917d381319a9954b6 (diff) | |
download | horizon-b6857b5fa7bc2412b75f6136e966dfede83d5a8e.tar.gz |
Add check for makemessages in tox.ini PEP8
This commit adds a check of extracting message catalogs to
tox PEP8 check. It is useful to avoid a bug like bug 1379054.
It also fixes a warning "WARNING:root:No local_settings file found."
in run_tests.sh --makemessages and --compilemessages by specifying
Django settings.
Closes-Bug: #1379507
Change-Id: I5541e28a87d48601202bf8180a18eadb5a91770b
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -20,7 +20,9 @@ deps = -r{toxinidir}/requirements.txt commands = /bin/bash run_tests.sh -N --no-pep8 {posargs} [testenv:pep8] -commands = /bin/bash run_tests.sh -N --pep8 +commands = + /bin/bash run_tests.sh -N --pep8 + /bin/bash run_tests.sh -N --makemessages --check-only [testenv:venv] commands = {posargs} |