代码拉取完成,页面将自动刷新
[tox]
envlist = flake8, py26, py27
# skipsdist = True
[flake8]
exclude = .tox,.git,*.egg,build
ignore = H102,H304,H803
[testenv]
# XXX clang, latest OSX:
# http://bruteforce.gr/bypassing-clang-error-unknown-argument.html
setenv = ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future -I{env:TOX_INCLUDE:""} -L{env:TOX_LIB:""}
SETTINGS_FLAVOR=test
DOCKER_REGISTRY_CONFIG=config_sample.yml
# XXX pip, python namespaces, setup tools, --egg, drugs and...
# http://stackoverflow.com/questions/17338925/cannot-install-two-packages-that-use-the-same-namespace
# https://github.com/pypa/pip/issues/3#issuecomment-1659959
# TL;DR: not installing as eggs break namespaces
install_command = pip install --egg {opts} {packages}
# Link manually to docker-registry-core so that tests runs the local copy
deps = ./depends/docker-registry-core/
-rrequirements/test.txt
commands = python setup.py nosetests
[testenv:flake8]
# XXX Like all openstack packages, hacking can't be installed as an egg
# so we need a special stance for flake8 env (that will break namespaces,
# but we don't care because flake8 is not running the code)
install_command = pip install {opts} {packages}
deps = ./depends/docker-registry-core/
-rrequirements/style.txt
commands = flake8 {toxinidir}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。