summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 4defb14c2a59a963ef580e196d3be1aceab1ce45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[tox]
envlist = py{27,35,36},pypy,pypy3,style

[testenv]
deps=
    # Adds nosetests command to setup.py
    nose
commands=
    python -bb setup.py nosetests {posargs:--with-coverage}

    # We could to this in dependencies, but explicit is better than implicit
    pip install .[middleware]
    # webob optional dependency is fulfilled by [middleware] extra requirement
    python -c "import webob"

[testenv:style]
deps = flake8
commands = flake8 routes

[flake8]
# These are all ignored until someone decided to go fix them
ignore = E125,E127,E128,E226,E305,E402,E501,E502,E504,F401,W503,W504