Skip to content

Commit

Permalink
Travis CI: run rstlint.py in the docs job (python#68)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vstinner authored Feb 13, 2017
1 parent 3d707be commit 2b50186
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ matrix:
- make venv PYTHON=python3
script:
- make html SPHINXBUILD="./venv/bin/python3 -m sphinx" SPHINXOPTS="-q"
- python3 tools/rstlint.py -i tools -i venv
- os: linux
language: c
compiler: clang
Expand Down
4 changes: 2 additions & 2 deletions Doc/faq/windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
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.
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.


Expand Down

0 comments on commit 2b50186

Please sign in to comment.