[tox] envlist = py311,pep8 [testenv] usedevelop = True install_command = pip install {opts} {packages} 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 allowlist_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