Initial project structure

This commit is contained in:
Roman Krček
2024-10-22 21:45:05 +02:00
commit c9a7535ef8
16 changed files with 268 additions and 0 deletions

25
tox.ini Normal file
View 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