Release 0.0.6
[ric-app/qp.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index c6e9565..4cc200e 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -18,29 +18,29 @@ envlist = code,flake8,docs,docs-linkcheck
 minversion = 2.0
 
 [testenv:code]
-basepython = python3.7
+basepython = python3
 deps=
     pytest
     coverage
     pytest-cov
 setenv =
     LD_LIBRARY_PATH = /usr/local/lib/:/usr/local/lib64
-    PYTHONPATH = {toxinidir}:qp:/usr/lib/python3.7/site-packages/
+    PYTHONPATH = {toxinidir}:src:/usr/lib/python3.7/site-packages/
     RMR_SEED_RT = tests/fixtures/test_local.rt
     RMR_ASYNC_CONN = 0
     USE_FAKE_SDL = 1
 
 commands =
-    pytest -v --cov qp --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=60
+    pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=60
     coverage xml -i
 
 [testenv:flake8]
-basepython = python3.7
+basepython = python3
 skip_install = true
 deps = flake8
 setenv =
-    PYTHONPATH = {toxinidir}:qp:/usr/lib/python3.7/site-packages/
-commands = flake8 setup.py qp tests
+    PYTHONPATH = {toxinidir}:src:/usr/lib/python3.7/site-packages/
+commands = flake8 setup.py src tests
 
 [flake8]
 extend-ignore = E501,E741,E731
@@ -54,23 +54,26 @@ commands = sh -c 'pip freeze > requirements.txt'
 [testenv:docs]
 whitelist_externals = echo
 skipsdist = true
-basepython = python3.7
+basepython = python3
 deps =
     sphinx
     sphinx-rtd-theme
     sphinxcontrib-httpdomain
     recommonmark
     lfdocs-conf
+    urllib3~=1.26.15
+allowlist_externals = echo
 commands =
     sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
     echo "Generated docs available in {toxinidir}/docs/_build/html"
 
 [testenv:docs-linkcheck]
 skipsdist = true
-basepython = python3.7
+basepython = python3
 deps = sphinx
        sphinx-rtd-theme
        sphinxcontrib-httpdomain
        recommonmark
        lfdocs-conf
+       urllib3~=1.26.15
 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck