mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-05 19:36:43 +08:00
* 维护一个群号和QQ号与机器人实例的表 * 随机获取一个对应的机器人 * 获取所有机器人所在群的并集 * 监听到相关事件的时候刷新整个缓存 * 在发送错误后自动刷新缓存 * 合并相同类型的函数 * 添加测试
84 lines
2.0 KiB
TOML
84 lines
2.0 KiB
TOML
[tool.poetry]
|
|
name = "nonebot-bison"
|
|
version = "0.6.3"
|
|
description = "Subscribe message from social medias"
|
|
authors = ["felinae98 <felinae225@qq.com>"]
|
|
license = "MIT"
|
|
homepage = "https://github.com/felinae98/nonebot-bison"
|
|
keywords = ["nonebot", "nonebot2", "qqbot"]
|
|
readme = "README.md"
|
|
packages = [
|
|
{ include = "nonebot_bison", from = "./src/plugins/" }
|
|
]
|
|
include = [
|
|
"src/plugins/nonebot_bison/admin_page/dist/**/*"
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Operating System :: Microsoft :: Windows",
|
|
"Operating System :: MacOS",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
"License :: OSI Approved :: MIT License"
|
|
]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.10,<4.0.0"
|
|
nonebot2 = ">=2.0.0-rc.2"
|
|
httpx = ">=0.16.1"
|
|
bs4 = "^0.0.1"
|
|
tinydb = "^4.3.0"
|
|
feedparser = "^6.0.2"
|
|
pillow = ">=8.1,<10.0"
|
|
apscheduler = "^3.7.0"
|
|
expiringdict = "^1.2.1"
|
|
pyjwt = "^2.1.0"
|
|
aiofiles = "^0.8.0"
|
|
python-socketio = "^5.4.0"
|
|
nonebot-adapter-onebot = "^2.0.0-beta.1"
|
|
nonebot-plugin-htmlrender = ">=0.2.0"
|
|
nonebot-plugin-datastore = "^0.5.2"
|
|
alembic = "^1.7.6"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
ipdb = "^0.13.4"
|
|
pytest = "^7.0.1"
|
|
pytest-asyncio = "^0.18.1"
|
|
respx = "^0.20.0"
|
|
pytest-cov = "^3.0.0"
|
|
nonebug = "^0.2.3"
|
|
black = "^22.1.0"
|
|
isort = "^5.10.1"
|
|
pre-commit = "^2.17.0"
|
|
flaky = "^3.7.0"
|
|
sqlalchemy-stubs = "^0.4"
|
|
nonebot2 = {extras = ["fastapi"], version = ">=2.0.0-rc.2"}
|
|
|
|
[build-system]
|
|
requires = ["poetry>=0.12"]
|
|
build-backend = "poetry.masonry.api"
|
|
|
|
[tool.pytest.ini_options]
|
|
markers = [
|
|
"compare: compare fetching result with rsshub",
|
|
"render: render img by chrome",
|
|
"external: use external resources"
|
|
]
|
|
asyncio_mode = "auto"
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
target-version = ["py310"]
|
|
include = '\.pyi?$'
|
|
extend-exclude = '''
|
|
'''
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
line_length = 88
|
|
skip_gitignore = true
|
|
|
|
[tool.nonebot]
|
|
plugins = ["src.plugins.nonebot_bison"] |