]> granicus.if.org Git - python/commitdiff
Treat Sphinx warnings as errors (GH-832) (GH-834)
authorZachary Ware <zachary.ware@gmail.com>
Mon, 27 Mar 2017 03:53:57 +0000 (22:53 -0500)
committerGitHub <noreply@github.com>
Mon, 27 Mar 2017 03:53:57 +0000 (22:53 -0500)
* Treat Sphinx warnings as errors (GH-832)

(cherry picked from commit 334e9ec938ea9876baadef15edb135d6d2aff30c)

* Remove unused suspicious rules

.travis.yml
Doc/tools/susp-ignored.csv

index 66f03dc7161a7f09cfcdbb37a72db4c5ccee7c4b..3496a1abba2c9707fb79b3f6cf881ae1d2f0cfbe 100644 (file)
@@ -39,7 +39,7 @@ matrix:
         - cd Doc
         - make venv
       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
       language: c
       compiler: clang
index c6e03119ae97307a0efc8848cb1df87812d56d4b..166374cb90cec1a19ce2b40f12bbb0bd92c6e044 100644 (file)
@@ -324,6 +324,4 @@ whatsnew/3.5,,::,>>> addr6 = ipaddress.IPv6Address('::1')
 whatsnew/3.5,,:root,ERROR:root:exception
 whatsnew/3.5,,:exception,ERROR:root:exception
 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 ""`"")."