Add PO/POT format check to pep8

Also cleans up unnecessary contents in tox.ini.

Change-Id: I8f630f32286fa6c2d3ab58e07d135f8e26b3c36d
This commit is contained in:
Akihiro Motoki 2016-02-27 23:42:08 +09:00
parent 73d776519f
commit 24a4a22b54
1 changed files with 2 additions and 3 deletions

View File

@ -16,8 +16,7 @@ basepython = python2
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pep8]
deps =
{[testenv]deps}
commands =
flake8
# sh ./tools/coding-checks.sh --pylint '{posargs}'
bash -c "find {toxinidir} -type f \( -name '*.po' -o -name '*.pot' \) -print0 | xargs -0 -n1 --no-run-if-empty msgfmt --check-format -o /dev/null"
whitelist_externals = bash