diff --git a/doc/requirements.txt b/doc/requirements.txt index 38d8f59..2ea8901 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1,3 @@ # Documentation -sphinx>=1.6.2 +sphinx>2.1.0 sphinx_rtd_theme==0.2.4 diff --git a/tox.ini b/tox.ini index 8293ca1..00f106c 100644 --- a/tox.ini +++ b/tox.ini @@ -31,7 +31,8 @@ commands = [testenv:pep8] basepython = python3 deps = - pipenv + pipenv + safety commands = pipenv install --dev bash -c {toxinidir}/tools/gate/whitespace-linter.sh @@ -39,15 +40,18 @@ commands = flake8 {toxinidir}/spyglass {toxinidir}/tests bandit -r spyglass -n 5 pipenv check + safety check -r {toxinidir}/doc/requirements.txt --bare whitelist_externals = bash [testenv:safety] deps = - pipenv + pipenv + safety commands = pipenv install --dev pipenv check + safety check -r {toxinidir}/doc/requirements.txt --full-report [testenv:bandit] deps =