mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-16 12:02:16 +00:00
c73fbaaf07
Bumps [pyrogram](https://github.com/pyrogram/pyrogram) from 2.0.60 to 2.0.70. - [Release notes](https://github.com/pyrogram/pyrogram/releases) - [Commits](https://github.com/pyrogram/pyrogram/compare/v2.0.60...v2.0.70) --- updated-dependencies: - dependency-name: pyrogram dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
67 lines
1.8 KiB
TOML
67 lines
1.8 KiB
TOML
[tool.poetry]
|
|
name = "tgpaimonbot"
|
|
version = "0.3.0"
|
|
description = "Telegarm robot, query the official genshin information."
|
|
authors = ["洛水居室", "zhxy-CN", "Chuangbo Li", "kotoriのねこ", "omg-xtao", "艾迪", "Karako", "SiHuaN"]
|
|
license = "AGPL-3.0"
|
|
readme = "README.md"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.8"
|
|
httpx= "^0.23.1"
|
|
ujson = "^5.6.0"
|
|
genshin = { git = "https://github.com/thesadru/genshin.py" }
|
|
Jinja2 = "^3.1.2"
|
|
python-telegram-bot = { version = "^20.0a6", extras = ["ext", "rate-limiter"] }
|
|
Pillow = "^9.3.0"
|
|
sqlmodel = "^0.0.8"
|
|
colorlog = "^6.7.0"
|
|
playwright = "^1.26.0"
|
|
fakeredis = "^2.2.0"
|
|
beautifulsoup4 = "^4.11.1"
|
|
asyncmy = "^0.2.5"
|
|
pyppeteer = "^1.0.2"
|
|
aiofiles = "^22.1.0"
|
|
python-dotenv = "^0.21.0"
|
|
alembic = "^1.8.1"
|
|
black = "^22.12.0"
|
|
rich = "^12.6.0"
|
|
enkanetwork-py = { git = "https://github.com/mrwan200/EnkaNetwork.py" }
|
|
TgCrypto = { version = "^1.2.5", optional = true }
|
|
Pyrogram = { version = "^2.0.70", optional = true }
|
|
pytest = { version = "^7.2.0", optional = true }
|
|
pytest-asyncio = { version = "^0.20.3", optional = true }
|
|
flaky = { version = "^3.7.0", optional = true }
|
|
lxml = "^4.9.2"
|
|
arko-wrapper = "^0.2.4"
|
|
fastapi = "^0.88.0"
|
|
uvicorn = {extras = ["standard"], version = "^0.19.0"}
|
|
sentry-sdk = "^1.11.0"
|
|
GitPython = "^3.1.29"
|
|
openpyxl = "^3.0.10"
|
|
async-lru = "^1.0.3"
|
|
thefuzz = "^0.19.0"
|
|
|
|
[tool.poetry.extras]
|
|
pyro = ["Pyrogram", "TgCrypto"]
|
|
test = ["pytest", "pytest-asyncio", "flaky"]
|
|
all = ["pytest", "pytest-asyncio", "flaky", "Pyrogram", "TgCrypto"]
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
# pytest配置
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
log_cli = true
|
|
log_cli_level = "INFO"
|
|
log_cli_format = "%(message)s"
|
|
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
|
|
|
# 格式配置
|
|
[tool.black]
|
|
include = '\.pyi?$'
|
|
line-length = 120
|
|
target-version = ['py38', 'py39', 'py310']
|