1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/openfans.org-node

Клонировать/Скачать
tox.ini 1.8 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
aiminick Отправлено 04.04.2017 15:50 d601849
[tox]
envlist = flake8, imports, tests, pylint
skipsdist = true
[testenv:imports]
# This must run separately from the other tests since it checks importing
# python modules with a clean python search path. The only directory allowed in
# the search path is the lib directory.
setenv =
PYTHONPATH = {toxinidir}/lib
sitepackages = True
deps =
pytest==2.9
changedir = {toxinidir}/tests
commands =
py.test -v -rxs check_imports.py
[testenv:tests]
passenv = *
# Using random hash seed expose bad tests assuming order of unorder things.
# Disabaled for now to make the build pass.
# TODO: remove this option after the failing tests are fixed.
setenv =
PYTHONHASHSEED = 0
sitepackages = True
deps =
nose==1.3.7
yappi==0.93
whitelist_externals = make
commands =
make -C tests check
[testenv:pylint]
setenv =
PYTHONPATH = vdsm:lib
sitepackages = True
deps =
pylint==1.6.4
commands =
pylint --errors-only \
vdsm/API.py \
vdsm/clientIF.py \
vdsm/sitecustomize.py \
vdsm/hooking.py \
vdsm/vdsmd.py \
vdsm/storage \
vdsm/virt \
lib/vdsm \
lib/vdsmclient \
lib/yajsonrpc
[testenv:flake8]
deps =
flake8==3.0.4
commands=
flake8 --statistics {posargs} \
. \
build-aux/vercmp \
contrib/logdb \
contrib/logstat \
contrib/profile-stats \
init/daemonAdapter \
vdsm/get-conf-item \
vdsm/set-conf-item \
vdsm/storage/curl-img-wrap \
vdsm/storage/fc-scan \
vdsm/vdsm-restore-net-config
[flake8]
# Ignore errors in current code to make the build pass
# 31 E402 module level import not at top of file
# 25 E731 do not assign a lambda expression, use a def
# TODO: fix the code and eliminate these ignores
ignore = E402, E731
show_source = True

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/openfans.org-node.git
git@api.gitlife.ru:oschina-mirror/openfans.org-node.git
oschina-mirror
openfans.org-node
openfans.org-node
cecos.node