Treat Sphinx warnings as errors (GH-832) (GH-834)

* Treat Sphinx warnings as errors (GH-832)

(cherry picked from commit 334e9ec938)

* Remove unused suspicious rules
This commit is contained in:
Zachary Ware 2017-03-26 22:53:57 -05:00 committed by GitHub
parent d2fc782410
commit abc68484b2
2 changed files with 1 additions and 3 deletions

View file

@ -39,7 +39,7 @@ matrix:
- cd Doc - cd Doc
- make venv - make venv
script: script:
- make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q" - make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q -W"
- os: linux - os: linux
language: c language: c
compiler: clang compiler: clang

View file

@ -324,6 +324,4 @@ whatsnew/3.5,,::,>>> addr6 = ipaddress.IPv6Address('::1')
whatsnew/3.5,,:root,ERROR:root:exception whatsnew/3.5,,:root,ERROR:root:exception
whatsnew/3.5,,:exception,ERROR:root:exception whatsnew/3.5,,:exception,ERROR:root:exception
whatsnew/changelog,,:version,import sys; I = version[:version.index(' ')] whatsnew/changelog,,:version,import sys; I = version[:version.index(' ')]
whatsnew/changelog,,:gz,": TarFile opened with external fileobj and ""w:gz"" mode didn't"
whatsnew/changelog,,::,": Use ""127.0.0.1"" or ""::1"" instead of ""localhost"" as much as"
whatsnew/changelog,,`,"for readability (was ""`"")." whatsnew/changelog,,`,"for readability (was ""`"")."

1 c-api/arg :ref PyArg_ParseTuple(args, "O|O:ref", &object, &callback)
324 whatsnew/3.5 :root ERROR:root:exception
325 whatsnew/3.5 :exception ERROR:root:exception
326 whatsnew/changelog :version import sys; I = version[:version.index(' ')]
whatsnew/changelog :gz : TarFile opened with external fileobj and "w:gz" mode didn't
whatsnew/changelog :: : Use "127.0.0.1" or "::1" instead of "localhost" as much as
327 whatsnew/changelog ` for readability (was "`").