mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-02-03 18:45:32 +08:00
Bumps [nonebot-plugin-user](https://github.com/he0119/nonebot-plugin-user) from 0.3.0 to 0.4.0. - [Release notes](https://github.com/he0119/nonebot-plugin-user/releases) - [Changelog](https://github.com/he0119/nonebot-plugin-user/blob/main/CHANGELOG.md) - [Commits](https://github.com/he0119/nonebot-plugin-user/compare/v0.3.0...v0.4.0) --- updated-dependencies: - dependency-name: nonebot-plugin-user dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
133 lines
3.7 KiB
TOML
133 lines
3.7 KiB
TOML
[tool.poetry]
|
|
name = 'nonebot-plugin-tetris-stats'
|
|
version = '1.4.5'
|
|
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 = 'AGPL-3.0'
|
|
|
|
[tool.poetry.dependencies]
|
|
python = '^3.10'
|
|
nonebot2 = { extras = ["fastapi"], version = "^2.3.0" }
|
|
nonebot-plugin-alconna = ">=0.48.0"
|
|
nonebot-plugin-apscheduler = ">=0.4,<0.6"
|
|
nonebot-plugin-localstore = ">=0.6,<0.8"
|
|
nonebot-plugin-orm = ">=0.1.1,<0.8.0"
|
|
nonebot-plugin-session = "^0.3.1"
|
|
nonebot-plugin-session-orm = "^0.2.0"
|
|
nonebot-plugin-user = ">=0.2,<0.5"
|
|
nonebot-plugin-userinfo = "^0.2.4"
|
|
aiocache = "^0.12.2"
|
|
aiofiles = ">=23.2.1,<25.0.0"
|
|
async-lru = "^2.0.4"
|
|
httpx = "^0.27.0"
|
|
jinja2 = "^3.1.3"
|
|
lxml = '^5.1.0'
|
|
pandas = '>=1.4.3,<3.0.0'
|
|
pillow = "^10.3.0"
|
|
playwright = '^1.41.2'
|
|
rich = "^13.7.1"
|
|
ujson = '^5.9.0'
|
|
zstandard = ">=0.22,<0.24"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
mypy = '>=1.9'
|
|
ruff = '>=0.3.0'
|
|
types-aiofiles = ">=23.2.0.20240106,<25.0.0.0"
|
|
types-lxml = "^2024.2.9"
|
|
types-pillow = "^10.2.0.20240423"
|
|
types-ujson = '^5.9.0'
|
|
pandas-stubs = '>=1.5.2,<3.0.0'
|
|
nonebot2 = { extras = ["all"], version = "^2.3.0" }
|
|
nonebot-adapter-discord = "^0.1.3"
|
|
nonebot-adapter-kaiheila = "^0.3.4"
|
|
nonebot-adapter-onebot = "^2.4.1"
|
|
nonebot-adapter-qq = "^1.4.4"
|
|
nonebot-adapter-satori = ">=0.11.4,<0.13.0"
|
|
nonebot-plugin-orm = { extras = ["default"], version = ">=0.3,<0.8" }
|
|
|
|
[tool.poetry.group.debug.dependencies]
|
|
memory-profiler = "^0.61.0"
|
|
objprint = '^0.2.2'
|
|
viztracer = "^0.16.2"
|
|
|
|
[build-system]
|
|
requires = ['poetry-core>=1.0.0']
|
|
build-backend = 'poetry.core.masonry.api'
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
'F', # pyflakes
|
|
'E', # pycodestyle errors
|
|
'W', # pycodestyle warnings
|
|
'C90', # mccabe
|
|
'I', # isort
|
|
'N', # PEP8-naming
|
|
'UP', # pyupgrade
|
|
'YTT', # flake8-2020
|
|
'ANN', # flake8-annotations
|
|
'ASYNC', # flake8-async
|
|
'S', # flake8-bandit
|
|
'BLE', # flake8-blind-except
|
|
'FBT', # flake8-boolean-trap
|
|
'B', # flake8-bugbear
|
|
'A', # flake8-builtins
|
|
'COM', # flake8-commas
|
|
'C4', # flake8-comprehensions
|
|
'DTZ', # flake8-datetimez
|
|
'T10', # flake8-debugger
|
|
'EM', # flake8-errmsg
|
|
'FA', # flake8-future-annotations
|
|
'ISC', # flake8-implicit-str-concat
|
|
'ICN', # flake8-import-conventions
|
|
'PIE', # flake8-pie
|
|
'T20', # flake8-print
|
|
'Q', # flake8-quotes
|
|
'RSE', # flake8-raise
|
|
'RET', # flake8-return
|
|
'SLF', # flake8-self
|
|
'SIM', # flake8-simplify
|
|
'TID', # flake8-tidy-imports
|
|
'TCH', # flake8-type-checking
|
|
'ARG', # flake8-unused-arguments
|
|
'PTH', # flake8-use-pathlib
|
|
'ERA', # eradicate
|
|
'PD', # pandas-vet
|
|
'PGH', # pygrep-hooks
|
|
'PL', # pylint
|
|
'TRY', # tryceratops
|
|
'FLY', # flynt
|
|
'PERF', # Perflint
|
|
'FURB', # refurb
|
|
'RUF', # Ruff-specific rules
|
|
]
|
|
ignore = [
|
|
'E501', # 过长的行由 ruff format 处理, 剩余的都是字符串
|
|
'ANN101', # 由 type checker 自动推断
|
|
'ANN102', # 由 type checker 自动推断
|
|
'ANN202', # 向 NoneBot 注册的函数
|
|
'TRY003',
|
|
'COM812', # 强制尾随逗号
|
|
'TID252', # 相对导入
|
|
'ISC001', # format warning
|
|
]
|
|
flake8-quotes = { inline-quotes = 'single', multiline-quotes = 'double' }
|
|
|
|
[tool.ruff.lint.flake8-annotations]
|
|
mypy-init-return = true
|
|
|
|
[tool.ruff.lint.flake8-builtins]
|
|
builtins-ignorelist = ["id"]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = 'single'
|
|
|
|
[tool.nonebot]
|
|
plugins = ['nonebot_plugin_tetris_stats']
|