sprockets-statsd/tox.ini

31 lines
529 B
INI
Raw Normal View History

[tox]
envlist = lint,distcheck,py37,py38,py39,tornado5
toxworkdir = ./build/tox
[testenv]
deps =
.[dev,tornado]
commands =
python -m unittest
[testenv:lint]
commands =
flake8 sprockets_statsd tests
yapf -dr sprockets_statsd tests
[testenv:distcheck]
deps =
twine
wheel
commands =
rm -fr {envtmpdir}/dist
python setup.py sdist --dist-dir {envtmpdir}/dist
python setup.py bdist_wheel --dist-dir {envtmpdir}/dist
twine check {envtmpdir}/dist/*
rm -fr {envtmpdir}/dist
[testenv:tornado5]
deps =
tornado>=5,<6
.[dev]