mirror of
https://github.com/sprockets/sprockets-statsd.git
synced 2024-11-14 19:29:30 +00:00
b64cd0cbde
This removes our reliance on asynctest and reduces the maintenance burden slightly. We still support 3.7, just removing explicit testing of it.
30 lines
574 B
INI
30 lines
574 B
INI
[tox]
|
|
envlist = lint,distcheck,py38,py39,py311,tornado5
|
|
toxworkdir = ./build/tox
|
|
|
|
[testenv]
|
|
deps =
|
|
.[dev,tornado]
|
|
commands =
|
|
python -m unittest
|
|
|
|
[testenv:lint]
|
|
commands =
|
|
flake8 sprockets_statsd tests setup.py docs/conf.py
|
|
yapf -dr sprockets_statsd tests setup.py docs/conf.py
|
|
|
|
[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]
|