sprockets.mixins.mediatype/tox.ini

33 lines
631 B
INI
Raw Normal View History

2015-08-26 19:29:48 +00:00
[tox]
envlist = py37,py38,py39,coverage,docs,lint,typecheck
2015-08-26 19:29:48 +00:00
indexserver =
default = https://pypi.python.org/simple
2015-08-26 19:29:48 +00:00
toxworkdir = build/tox
skip_missing_interpreters = true
2015-08-26 19:29:48 +00:00
[testenv]
usedevelop = true
extras =
dev
msgpack
2020-09-14 12:19:36 +00:00
commands =
python -m unittest tests.py
[testenv:coverage]
commands =
coverage run -m unittest tests.py
coverage report
[testenv:docs]
commands =
sphinx-build -b html -aEn docs {envtmpdir}/sphinx
[testenv:lint]
commands =
flake8 sprockets tests.py
yapf -dr docs setup.py sprockets tests.py
[testenv:typecheck]
commands =
mypy sprockets/mixins/mediatype/ examples.py