grpclib/tox.ini

28 lines
442 B
INI

[tox]
envlist = py{36,37,38},pypy3,lint,check
[testenv]
usedevelop = true
commands = py.test
deps = -r requirements/test.txt
[testenv:py37]
commands = py.test --cov
[testenv:lint]
basepython = python3
commands = flake8
deps = -r requirements/lint.txt
[testenv:check]
basepython = python3
whitelist_externals = make
commands =
make proto
mypy grpclib examples
deps = -r requirements/check.txt
[travis]
python =
3.7: py37,lint,check