sanic/tox.ini

39 lines
684 B
INI
Raw Normal View History

[tox]
2018-10-13 18:10:43 -07:00
envlist = py35, py36, py37, {py35,py36,py37}-no-ext, lint, check
2016-12-25 19:05:11 -08:00
[testenv]
2017-05-15 09:49:25 +08:00
usedevelop = True
setenv =
{py35,py36,py37}-no-ext: SANIC_NO_UJSON=1
{py35,py36,py37}-no-ext: SANIC_NO_UVLOOP=1
deps =
2017-05-15 09:49:25 +08:00
coverage
2018-01-31 22:58:48 +01:00
pytest==3.3.2
2017-06-11 08:49:35 -07:00
pytest-cov
2017-08-08 22:21:40 -07:00
pytest-sanic
2017-05-15 09:49:25 +08:00
pytest-sugar
aiohttp>=2.3,<=3.2.1
2017-05-15 09:49:25 +08:00
chardet<=2.3.0
beautifulsoup4
gunicorn
commands =
2018-03-15 21:28:52 -07:00
pytest tests --cov sanic --cov-report= {posargs}
- coverage combine --append
2017-08-10 07:55:38 -07:00
coverage report -m
2018-10-13 18:10:43 -07:00
[testenv:lint]
deps =
flake8
2018-10-13 18:10:43 -07:00
black
commands =
flake8 sanic
2018-10-13 18:10:43 -07:00
black --check --verbose sanic
2017-05-02 10:17:24 +01:00
[testenv:check]
deps =
docutils
pygments
commands =
python setup.py check -r -s