1 Star 0 Fork 0

宋宏宇/compose

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tox.ini 1015 Bytes
一键复制 编辑 原始数据 按行查看 历史
[tox]
envlist = py37,pre-commit
[testenv]
usedevelop=True
whitelist_externals=mkdir
passenv =
LD_LIBRARY_PATH
DOCKER_HOST
DOCKER_CERT_PATH
DOCKER_TLS_VERIFY
DOCKER_VERSION
SWARM_SKIP_*
SWARM_ASSUME_MULTINODE
setenv =
HOME=/tmp
deps =
-rrequirements-indirect.txt
-rrequirements.txt
-rrequirements-dev.txt
commands =
mkdir -p .coverage-binfiles
py.test -v \
--cov=compose \
--cov-report html \
--cov-report term \
--cov-config=tox.ini \
{posargs:tests}
[testenv:pre-commit]
skip_install = True
deps =
pre-commit
commands =
pre-commit install
pre-commit run --all-files --show-diff-on-failure
# Coverage configuration
[run]
branch = True
data_file = .coverage-binfiles/.coverage
[report]
show_missing = true
[html]
directory = coverage-html
# end coverage configuration
[flake8]
max-line-length = 105
# Set this high for now
max-complexity = 11
exclude = compose/packages
[pytest]
addopts = --tb=short -rxs
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/huey97/compose.git
git@gitee.com:huey97/compose.git
huey97
compose
compose
master

搜索帮助