[tox] envlist = py3,flake8,docs [testenv] setenv = VIRTUAL_ENV={envdir} DJANGO_SETTINGS_MODULE=fedeproxy.settings passenv = FEDEPROXY_IP GITLAB_CI PYTEST_ADDOPTS HOME allowlist_externals = env usedevelop = True install_command = pip install {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/requirements-dev.txt commands = coverage run --source=fedeproxy {envbindir}/py.test -vvv --durations 10 {posargs:tests} coverage report --omit=*test*,*tox* --show-missing [testenv:flake8] commands = flake8 {posargs} [testenv:docs] deps = -r{toxinidir}/docs/requirements.txt commands = sphinx-build -W -vvv -b html docs build/html [flake8] exclude = venv,.tox,dist,doc,*.egg,build,docs/conf.py,src show-source = true max_line_length = 100