mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
代码规范:使用PEP8推荐的命名规范 删除Request模块,改为每个游戏的processor单独实现,因为每个游戏的api请求都不太一样 对于io_data_processor: 1. 引入了playwright以应对api套的cloudflare五秒盾 对于top_data_processor: 1. 添加了lxml和pandas的stubs库,并修复了所有type hint错误 对于sql: 1. 使用全局变量保存数据库连接对象,理论上运行一次只会连接一次数据库 2. 移动初始化数据库的hook函数到sql.py 其他: 优化代码 版本推进
33 lines
871 B
TOML
33 lines
871 B
TOML
[tool.poetry]
|
|
name = "nonebot-plugin-tetris-stats"
|
|
version = "0.3.0"
|
|
description = "一个基于nonebot2的用于查询TETRIS相关游戏玩家数据的插件"
|
|
authors = ["scdhh <wallfjjd@gmail.com>"]
|
|
readme = "README.md"
|
|
homepage = "https://github.com/shoucandanghehe/nonebot-plugin-tetris-stats"
|
|
repository = "https://github.com/shoucandanghehe/nonebot-plugin-tetris-stats"
|
|
license = "MIT"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10,<3.11"
|
|
nonebot-adapter-onebot = "^2.0.0-beta.1"
|
|
aiohttp = "^3.8.1"
|
|
asyncio = "^3.4.3"
|
|
nonebot2 = "^2.0.0-beta.3"
|
|
lxml = "^4.9.1"
|
|
pandas = "^1.4.3"
|
|
playwright = "^1.24.1"
|
|
ujson = "^5.4.0"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
mypy = "^0.971"
|
|
autopep8 = "^1.6.0"
|
|
pylint = "^2.14.5"
|
|
types-ujson = "^5.4.0"
|
|
lxml-stubs = "^0.4.0"
|
|
pandas-stubs = "^1.4.3"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|