pylast/tox.ini
2022-02-27 16:38:08 +02:00

32 lines
535 B
INI

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