-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (57 loc) · 1.38 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (57 loc) · 1.38 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
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "tp-bot"
version = "0.1.0"
description = "TP Bot — Card Management & PDS Assisted RPA"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"aiogram>=3.13,<4",
"fastapi>=0.115,<1",
"uvicorn[standard]>=0.30,<1",
"sqlalchemy[asyncio]>=2.0.35,<3",
"asyncpg>=0.29,<1",
"alembic>=1.13,<2",
"pydantic>=2.9,<3",
"pydantic-settings>=2.5,<3",
"python-dotenv>=1.0,<2",
"email-validator>=2.2,<3",
"greenlet>=3.0,<4",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3,<9",
"pytest-asyncio>=0.24,<1",
"httpx>=0.27,<1",
"aiosqlite>=0.20,<1",
"telethon>=1.36,<2",
"ruff>=0.6,<1",
"mypy>=1.11,<2",
"pre-commit>=3.8,<4",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
pythonpath = ["."]
markers = [
"unit: isolated unit tests",
"integration: integration tests with DB/services flow",
"contract: contract stability tests (e.g. pds-assist-v1)",
"e2e: real Telegram end-to-end tests (run only with explicit env credentials)",
]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F"]
ignore = ["E402", "E501"]
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
warn_unused_ignores = true
warn_redundant_casts = true
check_untyped_defs = true
pretty = true
[tool.hatch.build.targets.wheel]
packages = ["app"]