-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (59 loc) · 1.4 KB
/
pyproject.toml
File metadata and controls
71 lines (59 loc) · 1.4 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[project]
name = "agentic-telegram-bot"
version = "0.6.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"agent-core",
"mistune-telegram>=0.5.0",
"openai-agents>=0.13.0",
"python-dotenv>=1.1.0",
"python-telegram-bot>=22.0",
]
[project.scripts]
bot = "app:run"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"ty>=0.0.29",
"pytest>=8.3.3",
"pytest-cov>=6.0.0",
"ruff>=0.7.3",
"pip>=24.2",
]
[tool.ruff]
exclude = ["build"]
line-length = 120
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"C", # flake8-comprehensions
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"SIM", # flake8-simplify
"UP", # pyupgrade
"W", # pycodestyle warnings
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]
[tool.ruff.lint.isort]
force-single-line = true
[tool.ty.environment]
python = ".venv"
[tool.pytest.ini_options]
testpaths = ["tests"]
log_file = "logs/pytest.log"
log_file_level = "INFO"
log_format = "%(asctime)s %(levelname)s %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["bot"]
[tool.uv.sources]
agent-core = { git = "https://github.com/John-Lin/agent-core.git", rev = "main" }