forked from rezhajulio/PythonID-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (40 loc) · 1014 Bytes
/
pyproject.toml
File metadata and controls
48 lines (40 loc) · 1014 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
41
42
43
44
45
46
47
48
[project]
name = "pythonid-bot"
version = "0.1.0"
description = "Telegram bot that monitors group messages and warns users without public profile pictures or usernames"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"logfire>=2.6.1",
"pydantic>=2.12.5",
"pydantic-settings>=2.12.0",
"python-telegram-bot[job-queue]>=22.5",
"sqlmodel>=0.0.28",
]
[project.scripts]
pythonid-bot = "bot.main:main"
[tool.uv]
package = true
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/bot"]
[dependency-groups]
dev = [
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.coverage.run]
source = ["src/bot"]
omit = ["*/tests/*", "src/bot/main.py", "*/__init__.py"]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
]