Merge "Check that all po/pot files are valid"
This commit is contained in:
commit
f50c884e22
3
tox.ini
3
tox.ini
@ -13,6 +13,7 @@ deps = -r{toxinidir}/requirements.txt
|
||||
commands =
|
||||
python setup.py testr --slowest --testr-args='--concurrency 1 {posargs}'
|
||||
{toxinidir}/tools/config/check_uptodate.sh
|
||||
whitelist_externals = bash
|
||||
|
||||
[tox:jenkins]
|
||||
downloadcache = ~/cache/pip
|
||||
@ -21,6 +22,8 @@ downloadcache = ~/cache/pip
|
||||
commands =
|
||||
flake8 {posargs} . cinder/common
|
||||
flake8 --filename=cinder* bin
|
||||
# Check that .po and .pot files are valid:
|
||||
bash -c "find cinder -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
|
||||
|
||||
[testenv:pylint]
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
|
Loading…
x
Reference in New Issue
Block a user