25 lines
495 B
INI
25 lines
495 B
INI
[tox]
|
|
requires = tox>=4
|
|
envlist = flake8, bandit, codespell
|
|
|
|
[testenv]
|
|
basepython = python3.11
|
|
deps = -r {toxinidir}/requirements.txt
|
|
-r {toxinidir}/test-requirements.txt
|
|
|
|
[testenv:flake8]
|
|
commands = flake8 orebolt_prevoid/
|
|
|
|
[testenv:bandit]
|
|
commands = bandit -r orebolt_prevoid/
|
|
|
|
[testenv:codespell]
|
|
commands = codespell orebolt_prevoid/
|
|
|
|
[testenv:unit]
|
|
commands = stestr run --test-path tests/
|
|
|
|
[testenv:coverage]
|
|
commands =
|
|
coverage run -m unittest discover
|
|
coverage report -m |