-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (77 loc) · 2.3 KB
/
Copy pathpyproject.toml
File metadata and controls
90 lines (77 loc) · 2.3 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[project]
name = "tg-bot-todo"
version = "0.1.0"
description = "Personal to-do Telegram bot. Multi-user, categories, priorities, due dates, search, JSON export."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11"
authors = [{ name = "jot1rsio" }]
keywords = ["telegram", "bot", "aiogram", "todo", "tasks", "template"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: AsyncIO",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Communications :: Chat",
"Topic :: Office/Business :: Scheduling",
]
dependencies = [
"aiogram>=3.13,<4.0",
"pydantic>=2.9,<3.0",
"pydantic-settings>=2.6,<3.0",
"sqlalchemy[asyncio]>=2.0.36,<3.0",
"aiosqlite>=0.20.0",
"fluent.runtime>=0.4.0",
"structlog>=24.4.0",
]
[project.optional-dependencies]
dev = [
"ruff>=0.7.0",
"mypy>=1.13.0",
"pytest>=8.3.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=6.0.0",
]
[project.urls]
Homepage = "https://github.com/arsenshahverdyanlavtxa228/tg-bot-todo"
Repository = "https://github.com/arsenshahverdyanlavtxa228/tg-bot-todo"
Issues = "https://github.com/arsenshahverdyanlavtxa228/tg-bot-todo/issues"
[project.scripts]
todo-bot = "bot.__main__:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/bot"]
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"E", "W", "F", "I", "B", "C4", "UP", "SIM", "RUF", "N", "ASYNC", "PTH", "TID",
]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "B017", "RUF001", "RUF002", "RUF003"]
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
python_version = "3.11"
strict = true
warn_unused_ignores = true
warn_return_any = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = ["fluent.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-ra -q --strict-markers --cov=bot --cov-report=term-missing"