[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 = { git = "https://gitea.4i.hk/hhhge/qqbotsdk.git" } [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"