forked from falconry/falcon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (29 loc) · 859 Bytes
/
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
[tox]
envlist = py26,py27,py33,pypy,pep8,pylint
[testenv]
deps = -r{toxinidir}/tools/test-requires
commands = {toxinidir}/tools/clean_cythoned.sh {toxinidir}/falcon
nosetests {posargs}
[testenv:py27]
deps = -r{toxinidir}/tools/test-requires
nose-cprof
commands = {toxinidir}/tools/clean_cythoned.sh {toxinidir}/falcon
nosetests \
--with-cprofile \
--cprofile-stats-erase \
--cprofile-stats-file=cprofile.dat \
{posargs}
[testenv:py3kwarn]
deps = py3kwarn
commands = py3kwarn falcon
[testenv:pep8]
deps = flake8
commands = flake8 \
--max-complexity=12 \
--exclude=./build,.venv,.tox,dist,doc,./falcon/bench/nuts \
--ignore=F403
[testenv:pylint]
deps = pylint
commands = pylint falcon \
--ignore=bench,tests \
-E