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

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

[pytest]
norecursedirs = test/lib .tox

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

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