代码拉取完成,页面将自动刷新
[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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。