Add check for rst syntax

Creating the release would fail if the syntax of README.rst is not
correct. Let's check it in the pep8 environment.

Story: 2002163
Task: 23044
Change-Id: I2856622af08cec7c801959ca85f4c77252263db5
This commit is contained in:
Witold Bedyk 2018-07-18 16:08:54 +02:00
parent def805bcc4
commit b18cde2dc8
3 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ Babel==2.3.4
bandit==1.4.0
coverage==4.0
debtcollector==1.2.0
docutils==0.11
extras==1.0.0
fixtures==3.0.0
flake8==2.5.5

View File

@ -16,3 +16,4 @@ requests-mock>=1.2.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
docutils>=0.11

View File

@ -68,6 +68,7 @@ basepython = python3
commands =
{[testenv:flake8]commands}
{[testenv:bandit]commands}
python setup.py check --restructuredtext --strict
[testenv:venv]
basepython = python3