cowrie/tox.ini

33 lines
715 B
INI
Raw Normal View History

2019-05-12 15:40:45 +00:00
[tox]
skipsdist = True
envlist = lint,py27,py37,docs
deps = -r{toxinidir}/requirements.txt
[testenv]
setenv =
PYTHONPATH = {toxinidir}/src
deps =
-r{toxinidir}/requirements.txt
commands =
trial cowrie
[testenv:lint]
setenv =
PYTHONPATH = {toxinidir}/src
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
commands =
flake8 --count --application-import-names cowrie --max-line-length=120 --statistics .
[testenv:docs]
setenv =
PYTHONPATH = {toxinidir}/src
changedir = docs
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
basepython = python3.7