sprockets-statsd/tox.ini

40 lines
722 B
INI
Raw Normal View History

[tox]
2023-07-28 12:06:59 +00:00
envlist = lint,distcheck,py38,py39,py311,tornado5,docs
toxworkdir = ./build/tox
[testenv]
deps =
.[dev,tornado]
commands =
python -m unittest
[testenv:lint]
commands =
2021-07-21 16:23:34 +00:00
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]
2023-07-28 12:06:59 +00:00
[testenv:docs]
deps =
.[readthedocs]
commands =
python -m sphinx -b html -aE docs build/sphinx