Skip to content

Commit abc6848

Browse files
authored
Treat Sphinx warnings as errors (GH-832) (GH-834)
* Treat Sphinx warnings as errors (GH-832) (cherry picked from commit 334e9ec) * Remove unused suspicious rules
1 parent d2fc782 commit abc6848

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ matrix:
3939
- cd Doc
4040
- make venv
4141
script:
42-
- make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q"
42+
- make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q -W"
4343
- os: linux
4444
language: c
4545
compiler: clang

Doc/tools/susp-ignored.csv

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,4 @@ whatsnew/3.5,,::,>>> addr6 = ipaddress.IPv6Address('::1')
324324
whatsnew/3.5,,:root,ERROR:root:exception
325325
whatsnew/3.5,,:exception,ERROR:root:exception
326326
whatsnew/changelog,,:version,import sys; I = version[:version.index(' ')]
327-
whatsnew/changelog,,:gz,": TarFile opened with external fileobj and ""w:gz"" mode didn't"
328-
whatsnew/changelog,,::,": Use ""127.0.0.1"" or ""::1"" instead of ""localhost"" as much as"
329327
whatsnew/changelog,,`,"for readability (was ""`"")."

0 commit comments

Comments
 (0)