5 Star 4 Fork 1

Gitee 极速下载/qiskit-metal

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/Qiskit/qiskit-metal
克隆/下载
tox.ini 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
[tox]
minversion = 3.15
envlist = py39, lint, docs
[testenv]
usedevelop = true
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
LANGUAGE=en_US
QISKIT_METAL_HEADLESS=1
LC_ALL=en_US.utf-8
commands =
pip check
python -m unittest -v
[testenv:lint]
basepython = python3.9
skip_install = true
deps =
pylint
ipython
yapf
commands =
yapf --diff --recursive --style {toxinidir}/.style.yapf qiskit_metal
# pylint -rn --rcfile={toxinidir}/.pylintrc qiskit_metal
[testenv:docs]
basepython = python3.9
envdir = .tox/docs
passenv = DOCS_FROM_MASTER, QISKIT_DOCS_BUILD_TUTORIALS
deps =
-r requirements-dev.txt
allowlist_externals=touch
commands =
touch {toxinidir}/docs/.buildingdocs
sphinx-build -b html {posargs} {toxinidir}/docs/ {toxinidir}/docs/_build/html
[testenv:gettext]
basepython = python3.9
envdir = .tox/docs
deps =
-r requirements-dev.txt
commands =
sphinx-build -b gettext docs/ docs/_build/gettext {posargs}
sphinx-intl -c docs/conf.py update -p docs/_build/gettext -l en -d docs/locale
[testenv:docs-clean]
skip_install = true
deps =
allowlist_externals = rm
commands = rm -rf {toxinidir}/docs/stubs/ {toxinidir}/docs/_build
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mirrors/qiskit-metal.git
git@gitee.com:mirrors/qiskit-metal.git
mirrors
qiskit-metal
qiskit-metal
main

搜索帮助