pylast/tox.ini
Hugo van Kemenade 6da916e78d tox-ini-fmt
2020-10-07 20:55:58 +03:00

30 lines
602 B
INI

[tox]
envlist =
py{py3, 310, 39, 38, 37, 36}
[testenv]
setenv =
PYLAST_API_KEY = {env:PYLAST_API_KEY:}
PYLAST_API_SECRET = {env:PYLAST_API_SECRET:}
PYLAST_PASSWORD_HASH = {env:PYLAST_PASSWORD_HASH:}
PYLAST_USERNAME = {env:PYLAST_USERNAME:}
extras =
tests
commands =
pytest -v -s -W all --cov pylast --cov tests --cov-report term-missing --random-order {posargs}
[testenv:venv]
deps =
ipdb
commands =
{posargs}
[testenv:lint]
passenv =
PRE_COMMIT_COLOR
skip_install = true
deps =
pre-commit
commands =
pre-commit run --all-files --show-diff-on-failure