Add passenv to tox.ini
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -5,6 +5,8 @@ envlist = py311, flake8, bandit, codespell, unit, coverage
|
|||||||
basepython = python3.11
|
basepython = python3.11
|
||||||
deps = -r {toxinidir}/test-requirements.txt
|
deps = -r {toxinidir}/test-requirements.txt
|
||||||
-r {toxinidir}/requirements.txt
|
-r {toxinidir}/requirements.txt
|
||||||
|
pass_env = app_env, app_id, api_hash, bot_token, \
|
||||||
|
storage, allowed_ids, log_level
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
commands = flake8 telegram_downloader_bot/
|
commands = flake8 telegram_downloader_bot/
|
||||||
|
|||||||
Reference in New Issue
Block a user