summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 5744346a58fcbd27066cefe73c772d6dbbe2833a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[tox]
# envlist = pep8,py35,py27,py34,py33,py26,pypy,jython
#envlist = py35,py27,py34,py33,py26,pypy,jython
envlist = pep8,py35,py36,py27,py34,pypy

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

[pytest]
norecursedirs = test/lib .tox

[testenv:pep8]
commands =
   flake8 --exclude convert,cmd,base {posargs}

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