summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 7edf04f9403cc0b0e2ec81c0feed426de8de96d2 (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 = pep8,py35,py27,py34,py33,py26,pypy,jython
envlist = py35,py27,py34,py33,py26,pypy,jython

[testenv]
commands =
    /bin/bash -c 'py.test _test/test_*.py'
deps =
    pytest
    flake8

[pytest]
norecursedirs = test/lib .tox

[testenv:pep8]
commands =
   flake8 {posargs}

[flake8]
show-source = True
max-line-length = 95
exclude = .hg,.git,.tox,dist,.cache,__pycache__,ruamel.zip2tar.egg-info