From fb3b43f713c9694e33608710762de62662a5d2cd Mon Sep 17 00:00:00 2001 From: John Dickinson Date: Wed, 30 May 2018 07:40:38 -0700 Subject: [PATCH] Added PyPI validation check for the readme. See https://review.openstack.org/#/c/571007/ and https://review.openstack.org/#/c/570999/ for context. Change-Id: Ib6045de3cb9097ed7e6d48646109f35612cbbc74 --- test-requirements.txt | 2 ++ tox.ini | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test-requirements.txt b/test-requirements.txt index 5f515bd319..6ef8d89288 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -21,3 +21,5 @@ keystonemiddleware>=4.17.0 # Apache-2.0 # Security checks bandit>=1.1.0 # Apache-2.0 + +docutils # OSI-Approved Open Source, Public Domain diff --git a/tox.ini b/tox.ini index 8a1b07fbf1..2cad7c3b7d 100644 --- a/tox.ini +++ b/tox.ini @@ -55,6 +55,7 @@ commands = flake8 {posargs:swift test doc setup.py} flake8 --filename=swift* bin bandit -c bandit.yaml -r swift -n 5 + python ./setup.py check --restructuredtext --strict [testenv:py3pep8] basepython = python3 @@ -66,6 +67,7 @@ commands = pip install flake8 flake8 swift test doc setup.py flake8 --filename=swift* bin + python ./setup.py check --restructuredtext --strict [testenv:func] basepython = python2.7