f75bd1c7c7
fixed paths to support new repo layout modified tox file Change-Id: Ibbe087cc4e0ae02b890824b4a559a9dd0c0a0a49
31 lines
669 B
INI
31 lines
669 B
INI
[tox]
|
|
envlist = py27,pep8,pylint
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = py.test -v --cov-report term-missing --cov freezer_ui
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:cover]
|
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|
|
|
[flake8]
|
|
show-source = True
|
|
ignore = E123,E125,H405,H238,H306,H701
|
|
builtins = _
|
|
exclude=.venv,.tox,dist,doc,test,*egg,tests,runtests.py
|
|
|
|
[testenv:pylint]
|
|
commands = pylint --rcfile .pylintrc freezer_ui
|