for some reason these weren't caught with local run but found some more issues running under tox
29 lines
576 B
INI
29 lines
576 B
INI
|
|
[tox]
|
|
envlist = py38, py39, py310, py311, nox
|
|
|
|
[testenv]
|
|
extras = db,docs,tests
|
|
deps = prompt_toolkit
|
|
commands = pytest {posargs}
|
|
|
|
[testenv:nox]
|
|
extras = tests
|
|
|
|
[testenv:pylint]
|
|
basepython = python3.11
|
|
extras = db
|
|
deps = pylint
|
|
prompt_toolkit
|
|
commands = pylint wuttjamaican
|
|
|
|
[testenv:coverage]
|
|
basepython = python3.11
|
|
extras = db,tests
|
|
commands = pytest --cov=wuttjamaican --cov-report=html --cov-fail-under=100
|
|
|
|
[testenv:docs]
|
|
basepython = python3.11
|
|
extras = db,docs
|
|
changedir = docs
|
|
commands = sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs
|