[tox] envlist = pep8 py3 py3-{devel} [testenv] usedevelop = True install_command = pip install {opts} {packages} basepython = python3 setenv = VIRTUAL_ENV={envdir} PYTHONDONTWRITEBYTECODE = 1 LANGUAGE=en_US LC_ALL=en_US.UTF-8 PYTHONWARNINGS=default::DeprecationWarning TESTS_DIR=./gerritbot/tests/unit/ deps = -r{toxinidir}/test-requirements.txt devel: git+https://opendev.org/opendev/gerritlib.git@master#egg=gerritlib whitelist_externals = rm commands = rm -f .testrepository/times.dbm stestr run {posargs} passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:pep8] commands = flake8 [testenv:pyflakes] commands = flake8 [testenv:venv] commands = {posargs} [flake8] show-source = True exclude = .venv,.tox,dist,doc,*.egg