Repository: libcloud Updated Branches: refs/heads/trunk 8723cc205 -> 370ecf7cd
Update lint and docs-travis target to run rstcheck on all the local *.rst files. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/45942321 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/45942321 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/45942321 Branch: refs/heads/trunk Commit: 459423211b43a798d186e0d48600668e7441200a Parents: 8723cc2 Author: Tomaz Muraus <[email protected]> Authored: Sun Oct 28 12:32:53 2018 +0100 Committer: Tomaz Muraus <[email protected]> Committed: Sun Oct 28 12:32:53 2018 +0100 ---------------------------------------------------------------------- tox.ini | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/45942321/tox.ini ---------------------------------------------------------------------- diff --git a/tox.ini b/tox.ini index bafba56..4b5990e 100644 --- a/tox.ini +++ b/tox.ini @@ -49,7 +49,9 @@ deps = pysphere rstcheck changedir = docs commands = pip install sphinx~=1.6.0 + rstcheck --report warning ../README.rst rstcheck --report warning ../CHANGES.rst + rstcheck --report warning ../CONTRIBUTING.rst python ../contrib/generate_provider_feature_matrix_table.py /bin/bash -c "ls apidocs/modules.rst && (grep orphan apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)" sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html @@ -77,6 +79,7 @@ commands = pylint -E --rcfile=./.pylintrc libcloud/common/ deps = -r{toxinidir}/requirements-tests.txt backports.ssl_match_hostname lockfile + rstcheck commands = flake8 libcloud/ flake8 --max-line-length=160 libcloud/test/ @@ -85,6 +88,9 @@ commands = flake8 libcloud/ flake8 --ignore=E402,E902 docs/examples/ flake8 --ignore=E402,E902 --max-line-length=160 contrib/ python -mjson.tool libcloud/data/pricing.json /dev/null + rstcheck --report warning README.rst + rstcheck --report warning CHANGES.rst + rstcheck --report warning CONTRIBUTING.rst [testenv:checks] commands = bash ./scripts/check_file_names.sh
