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
This commit is contained in:
parent
c03701d7b7
commit
fb3b43f713
@ -21,3 +21,5 @@ keystonemiddleware>=4.17.0 # Apache-2.0
|
|||||||
|
|
||||||
# Security checks
|
# Security checks
|
||||||
bandit>=1.1.0 # Apache-2.0
|
bandit>=1.1.0 # Apache-2.0
|
||||||
|
|
||||||
|
docutils # OSI-Approved Open Source, Public Domain
|
||||||
|
2
tox.ini
2
tox.ini
@ -55,6 +55,7 @@ commands =
|
|||||||
flake8 {posargs:swift test doc setup.py}
|
flake8 {posargs:swift test doc setup.py}
|
||||||
flake8 --filename=swift* bin
|
flake8 --filename=swift* bin
|
||||||
bandit -c bandit.yaml -r swift -n 5
|
bandit -c bandit.yaml -r swift -n 5
|
||||||
|
python ./setup.py check --restructuredtext --strict
|
||||||
|
|
||||||
[testenv:py3pep8]
|
[testenv:py3pep8]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
@ -66,6 +67,7 @@ commands =
|
|||||||
pip install flake8
|
pip install flake8
|
||||||
flake8 swift test doc setup.py
|
flake8 swift test doc setup.py
|
||||||
flake8 --filename=swift* bin
|
flake8 --filename=swift* bin
|
||||||
|
python ./setup.py check --restructuredtext --strict
|
||||||
|
|
||||||
[testenv:func]
|
[testenv:func]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
|
Loading…
Reference in New Issue
Block a user