1 Star 0 Fork 1

sun_shine11/rich

forked from linzivan/rich 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tox.ini 998 Bytes
一键复制 编辑 原始数据 按行查看 历史
Sorin Sbarnea 提交于 2020-10-06 15:53 . Add tox configurations
[tox]
minversion = 3.9.0
envlist =
lint
docs
py{36,37,38,39}
isolated_build = True
[testenv]
description = Run unit-testing
# develop temporary disabled as project packaging does not work with it yet:
# https://github.com/willmcgugan/rich/issues/345
usedevelop = False
deps =
-r requirements-dev.txt
# do not put * in passenv as it may break builds due to reduced isolation
passenv =
CI
GITHUB_*
HOME
PYTEST_*
SSH_AUTH_SOCK
TERM
setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONUNBUFFERED=1
commands =
# failsafe as older pip may install incompatible dependencies
pip check
pytest --cov-report term-missing --cov=rich tests/ {posargs}
[testenv:lint]
description = Runs all linting tasks
commands =
black .
mypy -p rich --ignore-missing-imports --warn-unreachable
skip_install = true
[testenv:docs]
description = Builds documentation
changedir = docs
deps =
-r docs/requirements.txt
commands =
sphinx-build -M html source build
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sunjin911/rich.git
git@gitee.com:sunjin911/rich.git
sunjin911
rich
rich
master

搜索帮助