1 Star 0 Fork 3

xuguangmin/mailman

forked from Gitee 极速下载/mailman 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tox.ini 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
atagar 提交于 2021-09-18 22:45 . Test using Python 3.8 and 3.9
[tox]
envlist = {py36,py37,py38,py39}-{nocov,cov,diffcov}{,-mysql,-pg},qa
#recreate = True
skip_missing_interpreters = True
[testenv]
commands =
nocov: python -m nose2 -v {posargs}
cov,diffcov: python -m coverage run {[coverage]rc} -m nose2 {posargs}
cov,diffcov: python -m coverage combine {[coverage]rc}
cov: python -m coverage html {[coverage]rc}
cov: python -m coverage report -m {[coverage]rc} --fail-under=93
diffcov: python -m coverage xml {[coverage]rc}
diffcov: diff-cover coverage.xml --html-report diffcov.html --compare-branch origin/master
diffcov: diff-cover coverage.xml --fail-under=100 --compare-branch origin/master
#sitepackages = True
usedevelop = True
deps =
flufl.testing>=0.8
nose2
cov,diffcov: coverage
pg: psycopg2-binary
mysql: pymysql
diffcov: diff_cover>=6.0
passenv =
MAILMAN_*
PYTHON*
LANG*
LC_*
setenv =
cov: COVERAGE_PROCESS_START={[coverage]rcfile}
cov: COVERAGE_OPTIONS="-p"
cov: COVERAGE_FILE={toxinidir}/.coverage
[testenv:qa]
basepython = python3
commands =
python -m flake8 src
deps =
flake8>3.0
flufl.testing
[testenv:docs]
basepython = python3
commands =
python setup.py build_sphinx
deps: -rrequirements-docs.txt
[coverage]
rcfile = {toxinidir}/coverage.ini
rc = --rcfile={[coverage]rcfile}
[flake8]
enable-extensions = U4
exclude = src/mailman/compat/*.py
hang-closing = True
jobs = 1
max-line-length = 79
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/xugmin/mailman.git
git@gitee.com:xugmin/mailman.git
xugmin
mailman
mailman
master

搜索帮助