Merge "Upgrade Sphinx package"

This commit is contained in:
Zuul 2019-07-17 15:00:14 +00:00 committed by Gerrit Code Review
commit 46ccaece21
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,3 @@
# Documentation # Documentation
sphinx>=1.6.2 sphinx>2.1.0
sphinx_rtd_theme==0.2.4 sphinx_rtd_theme==0.2.4

View File

@ -31,7 +31,8 @@ commands =
[testenv:pep8] [testenv:pep8]
basepython = python3 basepython = python3
deps = deps =
pipenv pipenv
safety
commands = commands =
pipenv install --dev pipenv install --dev
bash -c {toxinidir}/tools/gate/whitespace-linter.sh bash -c {toxinidir}/tools/gate/whitespace-linter.sh
@ -39,15 +40,18 @@ commands =
flake8 {toxinidir}/spyglass {toxinidir}/tests flake8 {toxinidir}/spyglass {toxinidir}/tests
bandit -r spyglass -n 5 bandit -r spyglass -n 5
pipenv check pipenv check
safety check -r {toxinidir}/doc/requirements.txt --bare
whitelist_externals = whitelist_externals =
bash bash
[testenv:safety] [testenv:safety]
deps = deps =
pipenv pipenv
safety
commands = commands =
pipenv install --dev pipenv install --dev
pipenv check pipenv check
safety check -r {toxinidir}/doc/requirements.txt --full-report
[testenv:bandit] [testenv:bandit]
deps = deps =