tox-ini-fmt
This commit is contained in:
parent
3a4ad741bd
commit
6da916e78d
2 changed files with 27 additions and 14 deletions
32
tox.ini
32
tox.ini
|
@ -1,21 +1,29 @@
|
|||
[tox]
|
||||
envlist = py{36, 37, 38, 39, 310, py3}
|
||||
envlist =
|
||||
py{py3, 310, 39, 38, 37, 36}
|
||||
|
||||
[testenv]
|
||||
extras = tests
|
||||
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:}
|
||||
commands = pytest -v -s -W all --cov pylast --cov tests --cov-report term-missing --random-order {posargs}
|
||||
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}
|
||||
deps =
|
||||
ipdb
|
||||
commands =
|
||||
{posargs}
|
||||
|
||||
[testenv:lint]
|
||||
deps = pre-commit
|
||||
commands = pre-commit run --all-files --show-diff-on-failure
|
||||
passenv =
|
||||
PRE_COMMIT_COLOR
|
||||
skip_install = true
|
||||
passenv = PRE_COMMIT_COLOR
|
||||
deps =
|
||||
pre-commit
|
||||
commands =
|
||||
pre-commit run --all-files --show-diff-on-failure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue