Kaydet (Commit) 2b501866 authored tarafından Victor Stinner's avatar Victor Stinner Kaydeden (comit) GitHub

Travis CI: run rstlint.py in the docs job (#68)

Currently, http://buildbot.python.org/all/buildslaves/ware-docs
buildbot is only run as post-commit. For example, bpo-29521 (PR#41)
introduced two warnings, unnotified by the Travis CI docs job.

Modify the docs job to run toosl/rstlint.py.

Fix also the two minor warnings which causes the buildbot slave to
fail.
üst 3d707be9
...@@ -34,6 +34,7 @@ matrix: ...@@ -34,6 +34,7 @@ matrix:
- make venv PYTHON=python3 - make venv PYTHON=python3
script: script:
- make html SPHINXBUILD="./venv/bin/python3 -m sphinx" SPHINXOPTS="-q" - make html SPHINXBUILD="./venv/bin/python3 -m sphinx" SPHINXOPTS="-q"
- python3 tools/rstlint.py -i tools -i venv
- os: linux - os: linux
language: c language: c
compiler: clang compiler: clang
......
...@@ -300,9 +300,9 @@ this respect, and is easily configured to use spaces: Take :menuselection:`Tools ...@@ -300,9 +300,9 @@ this respect, and is easily configured to use spaces: Take :menuselection:`Tools
--> Options --> Tabs`, and for file type "Default" set "Tab size" and "Indent --> Options --> Tabs`, and for file type "Default" set "Tab size" and "Indent
size" to 4, and select the "Insert spaces" radio button. size" to 4, and select the "Insert spaces" radio button.
Python raises :exc:`IndentationError` or :exc:`TabError` if mixed tabs Python raises :exc:`IndentationError` or :exc:`TabError` if mixed tabs
and spaces are causing problems in leading whitespace. and spaces are causing problems in leading whitespace.
You may also run the :mod:`tabnanny` module to check a directory tree You may also run the :mod:`tabnanny` module to check a directory tree
in batch mode. in batch mode.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment