Add .rst files check to pep8

Errors in README.rst prevent the package from being registered in Pypi. We would like pep8 to fail in these cases.
For more details, see: http://lists.openstack.org/pipermail/openstack-dev/2018-June/131233.html

Change-Id: I8a6c333c4c968054fe8b63bdf844fe8d94ce98b5
This commit is contained in:
Ifat Afek 2018-06-07 09:12:50 +00:00
parent 8c6edbbf36
commit f529174252
2 changed files with 1 additions and 2 deletions

View File

@ -16,8 +16,6 @@ analyzing and expanding OpenStack alarms & events, yielding insights
regarding the root cause of problems and deducing the existence of problems regarding the root cause of problems and deducing the existence of problems
before they are directly detected. before they are directly detected.
Vitrage Dashboard
-----------------
Vitrage Dashboard is an extension for OpenStack Dashboard that provides a UI for Vitrage Dashboard is an extension for OpenStack Dashboard that provides a UI for
Vitrage. Vitrage.

View File

@ -14,6 +14,7 @@ commands = /bin/rm -f .testrepository/times.dbm
[testenv:pep8] [testenv:pep8]
commands = flake8 commands = flake8
python setup.py check --restructuredtext --strict
[testenv:venv] [testenv:venv]
commands = {posargs} commands = {posargs}