diff options
author | Tetiana Lashchova <tlashchova@mirantis.com> | 2014-11-28 19:05:53 +0200 |
---|---|---|
committer | Tetiana Lashchova <tlashchova@mirantis.com> | 2014-12-10 12:11:48 +0200 |
commit | 802ed10fde0755641c0aa8b1dce40cb2a6a6c4f1 (patch) | |
tree | 3e724c298310c42d89d424371459881457f9de3f /tox.ini | |
parent | 38e5fed6e76446210366588ca39c3204145a6578 (diff) | |
download | python-heatclient-802ed10fde0755641c0aa8b1dce40cb2a6a6c4f1.tar.gz |
Initial setup for i18n support
Change-Id: Ifc912b31fe2f71d5267827321b8de0420ad62903
Partial-Bug: #1269930
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -12,7 +12,11 @@ deps = -r{toxinidir}/requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}' [testenv:pep8] -commands = flake8 +commands = + flake8 + # Check that .po and .pot files are valid: + bash -c "find python-heatclient -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null" +whitelist_externals = bash [testenv:venv] commands = {posargs} @@ -31,3 +35,6 @@ downloadcache = ~/cache/pip show-source = True exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build max-complexity=20 + +[hacking] +import_exceptions = heatclient.openstack.common._i18n
\ No newline at end of file |