1782a3d694
Separate scheduler as a service to improve engine's performance. Change-Id: I76446a08036df886c8d7e14430d08ed901901799
43 lines
813 B
INI
43 lines
813 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = py34,py27,pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
PYTHONHASHSEED=0
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
install_command = pip install {opts} {packages}
|
|
commands =
|
|
find . -type f -name "*.pyc" -delete
|
|
ostestr --slowest {posargs}
|
|
|
|
whitelist_externals = bash
|
|
find
|
|
|
|
[testenv:pep8]
|
|
commands =
|
|
flake8 {posargs}
|
|
|
|
[testenv:genconfig]
|
|
envdir = {toxworkdir}/venv
|
|
commands =
|
|
{toxinidir}/tools/gen-config
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[flake8]
|
|
ignore = E731, E402
|
|
exclude = .venv,.git,.tox,cover,dist,*lib/python*,*egg,tools,build
|
|
max-complexity=20
|
|
|
|
[hacking]
|
|
import_exceptions = bilean.common.i18n
|