pylast/tox.ini
2019-12-17 22:32:53 +02:00

28 lines
590 B
INI

[tox]
envlist = py38, py37, py36, py35, pypy3
recreate = False
[testenv]
setenv =
PYLAST_USERNAME={env:PYLAST_USERNAME:}
PYLAST_PASSWORD_HASH={env:PYLAST_PASSWORD_HASH:}
PYLAST_API_KEY={env:PYLAST_API_KEY:}
PYLAST_API_SECRET={env:PYLAST_API_SECRET:}
deps =
pyyaml
pytest
ipdb
pytest-cov
pytest-random-order
flaky
commands = pytest -v -s -W all --cov pylast --cov-report term-missing --random-order {posargs}
[testenv:venv]
deps = ipdb
commands = {posargs}
[testenv:lint]
deps = pre-commit
commands = pre-commit run --all-files
skip_install = true