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
This commit is contained in:
parent
b0f7b952b4
commit
3053b906a5
@ -1,3 +1,3 @@
|
|||||||
# Documentation
|
# Documentation
|
||||||
sphinx>=2.0.1
|
sphinx>2.1.0
|
||||||
sphinx_rtd_theme==0.4.3
|
sphinx_rtd_theme==0.4.3
|
||||||
|
5
tox.ini
5
tox.ini
@ -35,7 +35,9 @@ commands =
|
|||||||
yapf -dr {toxinidir}/spyglass_plugin_xls {toxinidir}/setup.py {toxinidir}/tests
|
yapf -dr {toxinidir}/spyglass_plugin_xls {toxinidir}/setup.py {toxinidir}/tests
|
||||||
flake8 {toxinidir}/spyglass_plugin_xls {toxinidir}/tests
|
flake8 {toxinidir}/spyglass_plugin_xls {toxinidir}/tests
|
||||||
bandit -r spyglass_plugin_xls -n 5
|
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 =
|
whitelist_externals =
|
||||||
bash
|
bash
|
||||||
|
|
||||||
@ -45,6 +47,7 @@ deps =
|
|||||||
commands =
|
commands =
|
||||||
safety check -r {toxinidir}/requirements.txt --full-report
|
safety check -r {toxinidir}/requirements.txt --full-report
|
||||||
safety check -r {toxinidir}/test-requirements.txt --full-report
|
safety check -r {toxinidir}/test-requirements.txt --full-report
|
||||||
|
safety check -r {toxinidir}/doc/requirements.txt --full-report
|
||||||
|
|
||||||
[testenv:bandit]
|
[testenv:bandit]
|
||||||
deps =
|
deps =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user