summaryrefslogtreecommitdiff
path: root/tox.ini
blob: fdc70a76bc9000e9ba14935fd5fbe5335a37bf57 (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,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