Put dev doc under pep8 check

Change-Id: Idd1ae6c26d1723deaaae4562a1e1839ae55633e4
This commit is contained in:
gong yong sheng 2017-01-06 22:34:32 +00:00
parent 3e238f1bc4
commit 8cad24f5a6
1 changed files with 3 additions and 0 deletions

View File

@ -43,8 +43,10 @@ basepython = python3.4
commands = oslo_debug_helper {posargs}
[testenv:pep8]
basepython = python2.7
commands =
flake8
doc8 -e .rst doc/source/ CONTRIBUTING.rst HACKING.rst README.rst TESTING.rst
tacker-db-manage check_migration
bash -c "find tacker -type f -regex '.*\.pot?' -print0|xargs -0 --no-run-if-empty -n 1 msgfmt --check-format -o /dev/null"
whitelist_externals = bash
@ -53,6 +55,7 @@ whitelist_externals = bash
commands = python ./tools/check_i18n.py ./tacker ./tools/i18n_cfg.py
[testenv:docs]
basepython = python2.7
commands =
doc8 -e .rst doc/source/ CONTRIBUTING.rst HACKING.rst README.rst TESTING.rst
python setup.py build_sphinx