代码拉取完成,页面将自动刷新
[tool.poetry]
name = "sandbox"
version = "0.0.1"
description = ""
authors = [
"liusiyao.sine <liusiyao.sine@bytedance.com>",
"chenli.cxx <chenli.cxx@bytedance.com>",
"xinshulin <xinshulin@bytedance.com>"
]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
pydantic = ">=2.4.0,<2.7.0"
fastapi = "^0.103.1"
uvicorn = {version = "0.25.0", extras = ["standard"]}
structlog = "^23.1.0"
psutil = "^5.9.8"
aiofiles = "^23.2.1"
aiohttp = "^3.9.5"
tenacity = "^8.4.2"
databases = { extras = ["aiomysql", "aiosqlite"], version = "^0.9.0" }
transformers = "^4.44.0"
[tool.poetry.group.dev.dependencies]
yapf = "^0.40.1"
isort = "^5.12.0"
pytest = "^7.4.2"
pytest-asyncio = "^0.23.2"
pytest-mock = "^3.11.1"
mypy = "^1.6.1"
pytest-cov = "^4.1.0"
pycln = "^2.3.0"
httpx = "^0.26.0"
numpy = "^2.0.0"
pytest-xdist = "^3.6.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.yapf]
based_on_style = "google"
column_limit = 120
[tool.isort]
profile = "hug"
line_length = 120
extend_skip_glob = ["sandbox/tests/*"]
[tool.pytest.ini_options]
addopts = """
-p no:logging
--cov=sandbox
--cov-report=xml:coverage.xml
--cov-report=term
--ignore=sandbox/tests/runners/samples
--ignore=scripts
"""
asyncio_mode = "auto"
filterwarnings = [
"ignore::pytest.PytestUnraisableExceptionWarning",
]
markers = [
"cuda: tests that requires gpu",
"minor: tests of minor languages",
"verilog: tests of verilog",
"datalake: tests that requires online datalake access",
"dp_eval: tests that uses external dp ada api"
]
[tool.coverage.run]
source = ["sandbox/*"]
omit = ["sandbox/tests/*"]
[tool.coverage.report]
exclude_also = ["@(abc\\.)?abstractmethod"]
ignore_errors = true
[tool.mypy]
ignore_missing_imports = true
[tool.pycln]
path = "sandbox/"
all = true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。