Now requirements.txt and test-requirements.txt are aligned to global-requirements.txt of stable/Liberty. Testing requirements are now move to test-requirements.txt from tox.ini Also the author, author-email and home-page are now update to reflect Freezer Team and openstack-dev ml. Change-Id: I27f2ea875778f19d2ffb542b9b8fbf29d1a740fe
30 lines
583 B
INI
30 lines
583 B
INI
[tox]
|
|
envlist = py27,pep8,pylint
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
|
|
commands =
|
|
py.test -v --cov-report term-missing --cov freezer_api
|
|
|
|
[pytest]
|
|
python_files = test_*.py
|
|
norecursedirs = .tox .venv specs
|
|
|
|
[testenv:pylint]
|
|
commands = pylint --rcfile .pylintrc freezer_api
|
|
|
|
[testenv:pep8]
|
|
commands = flake8 freezer_api
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude = .venv,.tox,dist,doc,test,*egg,tests,specs,build
|