forked from eventlet/eventlet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
55 lines (51 loc) · 1.41 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# The flake8 and pep8 sections just contain configuration for corresponding tools.
# Checkers are not run implicitly.
[flake8]
exclude = *.egg*,.env,.git,.hg,.tox,_*,build*,dist*,venv*,six.py,mock.py
ignore = E261
max-line-length = 101
[pep8]
count = 1
exclude = *.egg*,.env,.git,.hg,.tox,_*,build*,dist*,venv*,six.py,mock.py
ignore = E261
max-line-length = 101
show-source = 1
statistics = 1
[tox]
minversion=1.8
envlist =
pep8, py{26,27,33,34,py}-{selects,poll,epolls}, py{27,34,py}-dns
[testenv:pep8]
basepython = python2.7
setenv =
{[testenv]setenv}
deps =
pep8==1.5.6
commands =
pep8 benchmarks/ eventlet/ tests/
[testenv]
downloadcache = {toxworkdir}/pip_download_cache
setenv =
PYTHONDONTWRITEBYTECODE = 1
selects: EVENTLET_HUB = selects
poll: EVENTLET_HUB = poll
epolls: EVENTLET_HUB = epolls
basepython =
py26: python2.6
py27: python2.7
py33: python3.3
py34: python3.4
pypy: pypy
deps =
nose==1.3.1
setuptools==5.4.1
py27-dns: dnspython==1.12.0
py{26,27}-{selects,poll,epolls}: MySQL-python==1.2.5
py{34,py}-dns: dnspython3==1.12.0
{selects,poll,epolls}: psycopg2cffi-compat==1.1
{selects,poll,epolls}: pyopenssl==0.13
{selects,poll,epolls}: pyzmq==13.1.0
commands =
nosetests --verbose {posargs:tests/}
nosetests --verbose --with-doctest eventlet/coros.py eventlet/event.py \
eventlet/pools.py eventlet/queue.py eventlet/timeout.py