加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tox.ini 867 Bytes
一键复制 编辑 原始数据 按行查看 历史
## configuration for tox <http://codespeak.net/tox/>
## tox automates running certain tasks within virtualenvs. The following
## tox configuration outlines a basic setup for running unit tests and
## building sphinx docs in separate virtual environments. Give it a try!
[tox]
envlist=python3,doc
# test running
[testenv:python]
deps=
## if you use nose for test running
# nose
## if you use py.test for test running
# pytest
commands=
## run tests with py.test
# py.test []
## run tests with nose
nose
[testenv:doc]
deps=
sphinx
# add all Sphinx extensions and other dependencies required to build your docs
commands=
## test links
# sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees doc {envtmpdir}/linkcheck
## test html output
# sphinx-build -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化