-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (34 loc) · 835 Bytes
/
Copy pathpyproject.toml
File metadata and controls
40 lines (34 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[project]
name = "tgbot"
version = "0.2.0"
description = "Telegram Bot - 丛雨 (Murasame) AI Assistant"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"python-telegram-bot[webhooks]>=21.0,<22.0",
"openai>=1.0,<2.0",
"python-dotenv>=1.0,<2.0",
"aiohttp>=3.9,<4.0",
"httpx>=0.27,<1.0",
"websockets>=12.0,<13.0",
"rich>=14.3.3",
]
[project.scripts]
tgbot = "tgbot.main:main"
tgbot-admin = "tgbot.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/tgbot"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_ignores = true
ignore_missing_imports = true