From 8ec36eb94ac834dc609d30057ee6ecc214f5a2d2 Mon Sep 17 00:00:00 2001 From: Witold Bedyk Date: Wed, 25 Jul 2018 16:54:42 +0200 Subject: [PATCH] Add check for README.rst syntax Change-Id: Ie84446d03da4a8f357d6e52a8797bf8123705ec8 --- lower-constraints.txt | 1 + test-requirements.txt | 1 + tox.ini | 1 + 3 files changed, 3 insertions(+) diff --git a/lower-constraints.txt b/lower-constraints.txt index a17ec0d3..74bbfeae 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -5,6 +5,7 @@ cassandra-driver===2.1.4 coverage==4.0 debtcollector==1.2.0 elasticsearch===2.0.0 +docutils==0.11 extras==1.0.0 fixtures==3.0.0 flake8==2.5.5 diff --git a/test-requirements.txt b/test-requirements.txt index fe202ce0..759904c7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,3 +8,4 @@ coverage!=4.4,>=4.0 # Apache-2.0 mock>=2.0.0 # BSD oslotest>=3.2.0 # Apache-2.0 stestr>=1.0.0 # Apache-2.0 +docutils>=0.11 # OSI-Approved Open Source, Public Domain diff --git a/tox.ini b/tox.ini index f3028a48..c5f06c77 100644 --- a/tox.ini +++ b/tox.ini @@ -46,6 +46,7 @@ deps = commands = {[testenv:flake8]commands} {[bandit]commands} + python setup.py check --restructuredtext --strict [testenv:genconfig] description = Generates sample configuration file for monasca-persister