Files
mistral-dashboard/tox.ini
Christian Berendt 8fb902e2a3 Enable hacking check H306
* H306  imports not in alphabetical order

Change-Id: I8a679afa0893c84e391d3daddc85c3d8f29f60d8
2014-07-21 18:02:43 +02:00

27 lines
552 B
INI

[tox]
envlist = pep8
minversion = 1.6
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
DJANGO_SETTINGS_MODULE=mistraldashboard.settings
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:pep8]
commands = flake8 {posargs}
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[flake8]
show-source = true
ignore = H101,H302,H803
builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools,local_settings.py