Prepare for Zuul v3
As part of migration to zuul v3, replace checkniceness by linters tox target to use a more "common" target accross OpenStack. Remove the msgfmt check, this is now done in the translation sync scripts, so no need to run it again here. Change-Id: Ie50dba2c1eb7cbb2ce4d3ddf5b35dddaf355cb7f
This commit is contained in:
parent
de49069b09
commit
8439442601
5
tox.ini
5
tox.ini
@ -23,12 +23,15 @@ commands =
|
|||||||
{toxinidir}/tools/build-all-rst.sh --linkcheck
|
{toxinidir}/tools/build-all-rst.sh --linkcheck
|
||||||
|
|
||||||
[testenv:checkniceness]
|
[testenv:checkniceness]
|
||||||
|
# Will be replaced by linters
|
||||||
commands =
|
commands =
|
||||||
flake8
|
flake8
|
||||||
doc8 doc
|
doc8 doc
|
||||||
bash -c "find doc -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
|
|
||||||
{toxinidir}/tools/glossary-sort.sh
|
{toxinidir}/tools/glossary-sort.sh
|
||||||
|
|
||||||
|
[testenv:linters]
|
||||||
|
commands = {[testenv:checkniceness]commands}
|
||||||
|
|
||||||
[testenv:checkbuild]
|
[testenv:checkbuild]
|
||||||
commands =
|
commands =
|
||||||
{toxinidir}/tools/publishdocs.sh build
|
{toxinidir}/tools/publishdocs.sh build
|
||||||
|
Loading…
Reference in New Issue
Block a user