1 Star 1 Fork 17

Calvin/docker-registry

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tox.ini 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
Olivier Gambier 提交于 2015-01-05 15:48 . Fix tox bustage
[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}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xunxun0532/docker-registry.git
[email protected]:xunxun0532/docker-registry.git
xunxun0532
docker-registry
docker-registry
master

搜索帮助