mirror of
https://github.com/sprockets/sprockets.mixins.mediatype.git
synced 2024-11-24 11:19:53 +00:00
28 lines
540 B
INI
28 lines
540 B
INI
[tox]
|
|
envlist = py37,py38,py39,coverage,docs,lint
|
|
indexserver =
|
|
default = https://pypi.python.org/simple
|
|
toxworkdir = build/tox
|
|
skip_missing_interpreters = true
|
|
|
|
[testenv]
|
|
usedevelop = true
|
|
extras =
|
|
dev
|
|
msgpack
|
|
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
|