Add the restructuredtext check to the flake8 job

This follows a recommendation in this thread on openstack-dev.
http://lists.openstack.org/pipermail/openstack-dev/2018-June/131233.html

Change-Id: Ic87c54feab7fbc33092a77cfabd4075622abf4ba
This commit is contained in:
Dougal Matthews 2018-06-07 12:12:17 +01:00
parent 37fea13a42
commit df04a2b5fd
1 changed files with 3 additions and 1 deletions

View File

@ -23,7 +23,9 @@ whitelist_externals =
[testenv:pep8]
basepython = python3
commands = flake8 {posargs}
commands =
python setup.py check --restructuredtext --strict
flake8 {posargs}
[testenv:venv]
basepython = python3