1
0
Fork 0

tox: Keep versions of dependencies in separate section

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
merge-requests/764/head
Vasilis Tsiligiannis 2019-09-23 13:30:54 +03:00
parent 8394956634
commit e954f8802c
1 changed files with 6 additions and 2 deletions

View File

@ -6,9 +6,13 @@ envlist =
py27
py36
[depversions]
flake8 = 3.7.7
sphinx_rtd_theme = 0.4.3
[testenv:flake8]
deps =
flake8
flake8=={[depversions]flake8}
skip_install = True
commands = flake8 \
setup.py \
@ -17,7 +21,7 @@ commands = flake8 \
[testenv:docs]
deps =
sphinx_rtd_theme==0.4.3
sphinx_rtd_theme=={[depversions]sphinx_rtd_theme}
changedir = {toxinidir}/docs
commands =
sphinx-build -b html . "_build/html"