Andreas Jaeger 681b186bed Use pep8 instead of linters
According to the PTI (=Python Test Interface,
http://governance.openstack.org/reference/cti/python_cti.html), pep8
is the interface for codestyle checks. Move all tests from linters to
pep8.

Change-Id: I9b53b091f69290e3bda43ee1d50122c39b054e1b
2016-02-11 17:17:16 +01:00

28 lines
588 B
INI

[tox]
minversion = 1.6
envlist = pep8
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
setenv = VIRTUAL_ENV={envdir}
sitepackages = False
[testenv:pep8]
commands =
flake8 openstackdocstheme
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[flake8]
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
show-source = True