1 Star 5 Fork 3

OpenV2X/dandelion

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tox.ini 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
qiaolei 提交于 2022-12-27 18:30 . feat: add algo api (#158)
[tox]
minversion = 3.18.0
requires = virtualenv>=20.4.2
skipsdist = True
envlist = pep8
# this allows tox to infer the base python from the environment name
# and override any basepython configured in this file
ignore_basepython_conflict=true
[testenv]
basepython = python3
setenv = VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1
usedevelop = True
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
allowlist_externals =
passenv =
*_proxy
*_PROXY
[testenv:venv]
deps =
{[testenv]deps}
extras =
commands =
{posargs}
[testenv:mypy]
description =
Run type checks.
envdir = {toxworkdir}/shared
extras =
commands =
mypy dandelion
[testenv:pep8]
description =
Run style and type checks.
envdir = {toxworkdir}/shared
deps =
{[testenv]deps}
extras =
commands =
{[testenv:mypy]commands}
isort --check-only --diff .
black --check --diff --color --line-length 99 .
flake8 .
[testenv:pep8-format]
description =
Run code format.
envdir = {toxworkdir}/shared
deps =
{[testenv]deps}
extras =
commands =
isort .
black --line-length 99 .
[testenv:genswagger]
envdir = {toxworkdir}/shared
description =
Generate swagger files.
commands =
python tools/generate_swagger.py -o swagger.json
[testenv:genconfig]
envdir = {toxworkdir}/shared
extras =
commands =
oslo-config-generator --config-file=etc/dandelion/dandelion-config-generator.conf
[flake8]
# E203 whitespace before ':'
extend-ignore = E203
max-line-length = 99
max-doc-length = 99
show-source = True
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,releasenotes
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/open-v2x/dandelion.git
git@gitee.com:open-v2x/dandelion.git
open-v2x
dandelion
dandelion
master

搜索帮助