From 3053b906a5c243aff4eaff0b6d913a9f06907381 Mon Sep 17 00:00:00 2001 From: "Ian H. Pittwood" Date: Wed, 10 Jul 2019 10:11:49 -0500 Subject: [PATCH] Upgrade Sphinx package Sphinx 2.1.0 has a bug [0] that causes whitespace to be excluded in outputted docs. This change updates Sphinx to peg any version >2.1.0. Safety dependency vulnerability checks now will also cover the doc requirements.txt. [0] https://github.com/sphinx-doc/sphinx/issues/6440 Change-Id: I52b6eac208fd1c99194e2d30b6cf00431550a31d --- doc/requirements.txt | 2 +- tox.ini | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index b13935d..0456f14 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1,3 @@ # Documentation -sphinx>=2.0.1 +sphinx>2.1.0 sphinx_rtd_theme==0.4.3 diff --git a/tox.ini b/tox.ini index dea76a7..8669f2f 100644 --- a/tox.ini +++ b/tox.ini @@ -35,7 +35,9 @@ commands = yapf -dr {toxinidir}/spyglass_plugin_xls {toxinidir}/setup.py {toxinidir}/tests flake8 {toxinidir}/spyglass_plugin_xls {toxinidir}/tests bandit -r spyglass_plugin_xls -n 5 - safety check -r requirements.txt --bare + safety check -r {toxinidir}/requirements.txt \ + -r {toxinidir}/test-requirements.txt \ + -r {toxinidir}/doc/requirements.txt --bare whitelist_externals = bash @@ -45,6 +47,7 @@ deps = commands = safety check -r {toxinidir}/requirements.txt --full-report safety check -r {toxinidir}/test-requirements.txt --full-report + safety check -r {toxinidir}/doc/requirements.txt --full-report [testenv:bandit] deps =