Dalba has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/406020 )
Change subject: [draft] tox.ini: Set rstcheck report level to warning and check all rst files ...................................................................... [draft] tox.ini: Set rstcheck report level to warning and check all rst files Run the rstcheck on all *.rst files. findx used to only look under the ./docs directory, therefore other rst files like `HISTORY.rst` were not checked. tox.ini: - Add "--ignore-directives automodule,autoclass,autofunction" to rstcheck options. tests/README.rst: - Fix "Unexpected indentation" error. docs/library_usage.rst: - Fix "Title underline too short" warning. Change-Id: Ia48661bf8d772a2b9716e4c554b9b4bd3b239373 --- M HISTORY.rst M docs/library_usage.rst M tests/README.rst M tox.ini 4 files changed, 7 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core refs/changes/20/406020/1 diff --git a/HISTORY.rst b/HISTORY.rst index e2bbd3c..6e43571 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,7 +2,7 @@ =============== Current release ---------------- +-------------- * Deprecation warning: support for py2.6 and py3.3 will be dropped * Bugfixes and improvements diff --git a/docs/library_usage.rst b/docs/library_usage.rst index 232143d..36ef39a 100644 --- a/docs/library_usage.rst +++ b/docs/library_usage.rst @@ -1,5 +1,5 @@ Using pywikibot as library ------------- +-------------------------- .. note:: Please see the documentation at `Manual:Pywikibot/Create your own script <https://www.mediawiki.org/wiki/Manual:Pywikibot/Create_your_own_script>`_ diff --git a/tests/README.rst b/tests/README.rst index 1c7c868..1c3601f 100644 --- a/tests/README.rst +++ b/tests/README.rst @@ -189,8 +189,10 @@ 3. create a project in circleci.com 4. go to https://circleci.com/gh/<username>/pywikibot-core/edit#env-vars and add the following variables: - PYWIKIBOT2_NO_USER_CONFIG=2 - TOXENV=py27,py34 + + - PYWIKIBOT2_NO_USER_CONFIG=2 + - TOXENV=py27,py34 + 5. push changes into the forked git repository 6. watch the build at https://circleci.com/gh/<username>/pywikibot-core diff --git a/tox.ini b/tox.ini index 5435357..11b19ec 100644 --- a/tox.ini +++ b/tox.ini @@ -133,12 +133,11 @@ [testenv:doc] commands = make html -C ./docs - findx -name "*.rst" -x -path ./docs : rstcheck --report severe + find -type f -name '*.rst' | xargs rstcheck --report warning --ignore-directives automodule,autoclass,autofunction basepython = python3.4 deps = -rrequests-requirements.txt -rdocs/requirements-py3.txt - findx >= 0.9.9 rstcheck [flake8] -- To view, visit https://gerrit.wikimedia.org/r/406020 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia48661bf8d772a2b9716e4c554b9b4bd3b239373 Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: Dalba <dalba.w...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits