--- a +++ b/tox.ini @@ -0,0 +1,25 @@ +[tox] +envlist = py36, py37, py38, flake8 + +[travis] +python = + 3.10: py310 + 3.9: py39 + 3.8: py38 + +[testenv:flake8] +basepython = python +deps = flake8 +commands = flake8 wsic tests + +[testenv] +setenv = + PYTHONPATH = {toxinidir} +deps = + -r{toxinidir}/requirements.txt +; If you want to make tox run the tests with the same versions, create a +; requirements.txt with the pinned versions and uncomment the following line: +; -r{toxinidir}/requirements.txt +commands = + pip install -U pip + pytest