summaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: 460066d981ce01601aaea6dfa81f94356565b95a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[tox]
minversion = 2.0
skipsdist = True
envlist = pep8

[testenv]
basepython = python2.7
setenv = VIRTUAL_ENV={envdir}
whitelist_externals = find
commands = find . -type f -name "*.py[c|o]" -delete

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

[testenv:venv]
commands = {posargs}

[flake8]
exclude = .git,.tox,.venv,*egg,docs,examples,templates