Initial project structure
This commit is contained in:
25
tox.ini
Normal file
25
tox.ini
Normal file
@@ -0,0 +1,25 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user