summaryrefslogtreecommitdiff
path: root/tox.ini
blob: c45a594df7533fe0cf4d55893e7c2695ab543d14 (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
[tox]
envlist = py34,py27,pep8,docs

[testenv]
deps =
  -r{toxinidir}/test-requirements.txt
distribute = False
commands = python setup.py testr --testr-args='{posargs}'

[testenv:venv]
commands = {posargs}

[testenv:pep8]
deps = flake8
ignore = E251
commands = flake8 stevedore setup.py

[testenv:docs]
commands = python setup.py build_sphinx

[flake8]
ignore = E251
show-source = True
exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build