summaryrefslogtreecommitdiff
path: root/tox.ini
blob: da624b5ee34a2221d1f8c5f3d4e16baf427c0def (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
[tox]
envlist = py26,py27,py33,py34,flake8

[testenv]
commands = nosetests {posargs}
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt

[testenv:cover]
commands = nosetests --with-coverage {posargs}

[testenv:flake8]
commands = flake8 {posargs}

[testenv:venv]
commands = {posargs}

[flake8]
#show-source = True
# E265 = comment blocks like @{ section, which it can't handle
# E266 = too many leading '#' for block comment
# E731 = do not assign a lambda expression, use a def
# W293 = Blank line contains whitespace
ignore = E265,W293,E266,E731
max-line-length = 120
exclude = .tox,.venv,build,dist,doc,git/ext/