sprockets-statsd/tox.ini
Dave Shawley 62e2057884
Update tox.ini to work with 3.11 as a base
Tornado 5 does not work under Python 3.11 so we need an explicit base
python version.
2023-07-28 07:36:09 -04:00

33 lines
619 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]
allowlist_externals =
rm
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]
base_python = py39
deps =
tornado>=5,<6
.[dev]