[tox] envlist = flake8,testenv skipsdist = True [testenv:flake8] basepython = python deps = flake8 commands = flake8 sziszapangma tests [testenv] setenv = PYTHONPATH = {toxinidir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/requirements_dev.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 = ls -la pip list pytest ; pytest --basetemp={envtmpdir}