1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
[tox]
envlist =
py37,
py38,
py39,
py310,
flake8,
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/jsonrpc_async
commands =
pytest --cov=jsonrpc_async --asyncio-mode=auto tests.py
coverage report
deps =
-r{toxinidir}/requirements-test.txt
[testenv:py37]
basepython = python3.7
deps =
{[testenv]deps}
[testenv:py38]
basepython = python3.8
deps =
{[testenv]deps}
[testenv:py39]
basepython = python3.9
deps =
{[testenv]deps}
[testenv:py310]
basepython = python3.10
deps =
{[testenv]deps}
[testenv:flake8]
basepython = python
commands = flake8 jsonrpc_async tests.py
|