gunicorn/tox.ini
Benoit Chesneau 97a45805f8
remove gaiohttp worker (#1971)
* remove gaiohttp worker

worker is deprecated and won't work on latest version.
2019-01-24 23:05:28 +01:00

41 lines
890 B
INI

[tox]
envlist = py34, py35, py36, py37, py38-dev, pypy, lint
skipsdist = True
[testenv]
usedevelop = True
commands = py.test {posargs}
deps =
-rrequirements_test.txt
[testenv:lint]
commands =
pylint -j0 \
gunicorn \
tests/test_arbiter.py \
tests/test_config.py \
tests/test_http.py \
tests/test_invalid_requests.py \
tests/test_logger.py \
tests/test_pidfile.py \
tests/test_sock.py \
tests/test_ssl.py \
tests/test_statsd.py \
tests/test_systemd.py \
tests/test_util.py \
tests/test_valid_requests.py
deps =
pylint
[testenv:docs-lint]
whitelist_externals =
rst-lint
bash
grep
deps =
restructuredtext_lint
pygments
commands =
rst-lint README.rst docs/README.rst
bash -c "(set -o pipefail; rst-lint --encoding utf-8 docs/source/*.rst | grep -v 'Unknown interpreted text role\|Unknown directive type'); test $? == 1"