summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 264d9aadaa4a587c7e5a107bbb2b9014e1ee4606 (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
34
35
36
37
38
39
40
41
42
[tox]
envlist = py26,py27,pypy,py33,py34,py35,pep8,py3pep8,packaging

[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 .

[testenv:packaging]
deps =
    check-manifest
    readme_renderer
commands =
    check-manifest
    python setup.py check --metadata --restructuredtext --strict


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