19 lines
423 B
INI
19 lines
423 B
INI
[tox]
|
|
envlist = py311, flake8, bandit, codespell, unit
|
|
|
|
[testenv]
|
|
basepython = python3.11
|
|
deps = -r {toxinidir}/test-requirements.txt
|
|
-r {toxinidir}/requirements.txt
|
|
|
|
[testenv:flake8]
|
|
commands = flake8 telegram_downloader_bot/
|
|
|
|
[testenv:bandit]
|
|
commands = bandit -r telegram_downloader_bot/
|
|
|
|
[testenv:codespell]
|
|
commands = codespell telegram_downloader_bot/
|
|
|
|
[testenv:unit]
|
|
commands = stestr run --test-path tests/ |