Add PO/POT format check to pep8
Also cleans up unnecessary contents in tox.ini. Change-Id: I8f630f32286fa6c2d3ab58e07d135f8e26b3c36d
This commit is contained in:
parent
73d776519f
commit
24a4a22b54
5
tox.ini
5
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue