summaryrefslogtreecommitdiff
path: root/tox.ini
blob: abc6283b70b308682c3b2b5a2f4002ebf863bb20 (plain)
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
[tox]
envlist = py26,py27,pypy,py33,py34,py35,pep8,py3pep8

[testenv]
# If you add a new dep here you probably need to add it in setup.py as well
deps =
    coverage
    pytest
commands =
    coverage run -m pytest --strict {posargs}
    coverage report -m --fail-under 100

[testenv:pep8]
deps =
    flake8
    flake8-import-order
    pep8-naming
commands =
    flake8 .

[testenv:py3pep8]
basepython = python3.3
deps =
    flake8
    flake8-import-order
    pep8-naming
commands =
    flake8 .

[flake8]
exclude = .tox,*.egg
select = E,W,F,N,I
application-import-names = bcrypt,tests