forked from ethereum/web3.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (34 loc) · 1.07 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
[tox]
envlist=
py{27,34,35}-{admin,eth,mining,providers,version,contracts,filtering,net,txpool,db,managers,personal,utilities}
flake8
[flake8]
max-line-length= 100
exclude= tests/*
[testenv]
usedevelop=True
commands=
admin: py.test {posargs:tests/admin-module}
eth: py.test {posargs:tests/eth-module}
mining: py.test {posargs:tests/mining-module}
providers: py.test {posargs:tests/providers}
version: py.test {posargs:tests/version-module}
contracts: py.test {posargs:tests/contracts}
filtering: py.test {posargs:tests/filtering}
net: py.test {posargs:tests/net-module}
shh: py.test {posargs:tests/shh-module}
txpool: py.test {posargs:tests/txpool-module}
db: py.test {posargs:tests/db-module}
managers: py.test {posargs:tests/managers}
personal: py.test {posargs:tests/personal-module}
utilities: py.test {posargs:tests/utilities}
deps =
-r{toxinidir}/requirements-dev.txt
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 {toxinidir}/web3