[tox] envlist=py{35,36,37,38,39},flake8 [testenv] deps = -r{toxinidir}/requirements.d/dev.txt setenv = PYTHONPATH = {toxinidir} # as we do not start the server that serves the selenium tests using the misc. # python versions configured above (but manually with 1 specific python # version), there is no point in running these tests with tox: commands = pytest -m "not needs_server" --cov=bepasty --pyargs {posargs:bepasty.tests} [testenv:flake8] changedir = deps = flake8 commands = flake8 src/ setup.py