summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuriy Taraday <yorik.sar@gmail.com>2015-12-31 15:40:58 +0300
committerYuriy Taraday <yorik.sar@gmail.com>2015-12-31 15:40:58 +0300
commit9688f8ebd1ace0f338a1eabb77e1bee249e5630b (patch)
tree6ca1fcfd0b87d7cb84b613632790d7218dcb5160
parentf3678f03deac0230e1265a8a516a8eea11d301cf (diff)
downloados-client-config-9688f8ebd1ace0f338a1eabb77e1bee249e5630b.tar.gz
Fix README.rst, add a check for it to fit PyPI rules
README.rst doesn't appear right on PyPI currently. This commit fixes the issue and expands "docs" environment in tox.ini to use readme tool [0] to verify that README.rst is good for PyPI. [0] https://github.com/pypa/readme Change-Id: I6025bb6c661d8a4a7cd9802a1298928662278f2d
-rw-r--r--README.rst2
-rw-r--r--tox.ini7
2 files changed, 7 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 5cbc118..f078f3c 100644
--- a/README.rst
+++ b/README.rst
@@ -355,7 +355,7 @@ with - as well as a consumption argument.
Constructing Legacy Client objects
----------------------------------
-If all you want to do is get a Client object from a python-*client library,
+If all you want to do is get a Client object from a python-\*client library,
and you want it to do all the normal things related to clouds.yaml, `OS_`
environment variables, a helper function is provided. The following
will get you a fully configured `novaclient` instance.
diff --git a/tox.ini b/tox.ini
index 7a2d3a0..95dff6b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -21,7 +21,12 @@ commands = {posargs}
commands = python setup.py test --coverage --coverage-package-name=os_client_config --testr-args='{posargs}'
[testenv:docs]
-commands = python setup.py build_sphinx
+deps =
+ {[testenv]deps}
+ readme
+commands =
+ python setup.py build_sphinx
+ python setup.py check -r -s
[flake8]
# H803 skipped on purpose per list discussion.