Files
MusicBot/pyproject.toml
T
snowy-yang 508604610f qqbotsdk 依赖改走 GitHub archive 源
GitHub(snowy-yang/qqbotsdk)已是 SDK 主仓库,Gitea 反为其镜像。
[tool.uv.sources] 从 Gitea git 源切到 GitHub archive tarball 的 url 源:
安装不再需要 git,uv 按 sdist 构建、lock 记录内容 hash;升级依赖用
uv lock --upgrade-package qqbotsdk 重取 main 最新。README 的 SDK 链接
同步指向 GitHub。
2026-09-24 21:55:41 +08:00

39 lines
892 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[project]
name = "musicbot"
version = "0.1.0"
description = "QQ 群点歌 bot:MusicServer 搜索 + 选歌菜单 + 歌曲卡片回调按钮"
requires-python = ">=3.13"
dependencies = ["qqbotsdk", "loguru"]
[project.scripts]
musicbot = "musicbot.main:main"
[build-system]
requires = ["uv_build>=0.12.7,<0.13.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-root = "" # flat 布局:musicbot/ 在仓库根而非 src/ 下
[dependency-groups]
dev = ["pyright", "pytest", "pytest-asyncio", "ruff"]
[tool.uv.sources]
qqbotsdk = { url = "https://github.com/snowy-yang/qqbotsdk/archive/refs/heads/main.tar.gz" }
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.ruff]
target-version = "py313"
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pyright]
typeCheckingMode = "standard"