summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 7a89f0a3e6d061ee862c678e600bc479d3201109 (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
27
28
29
30
# content of: tox.ini , put in same dir as setup.py
[tox]
minversion=1.8.dev1
envlist = py{26,27,34,35,36,37}

[testenv]
cov_args=--cov=mako --cov-report term --cov-report xml

deps=pytest
     mock
     beaker
     markupsafe
     pygments
     babel
     dogpile.cache
     lingua<4
     cov: pytest-cov

setenv=
    cov: COVERAGE={[testenv]cov_args}

commands=py.test {env:COVERAGE:} {posargs}


[flake8]

show-source = True
ignore = E711,E712,E721,D,N
# F841,F811,F401
exclude=.venv,.git,.tox,dist,doc,*egg,build