-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (45 loc) · 1.37 KB
/
pyproject.toml
File metadata and controls
55 lines (45 loc) · 1.37 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
[build-system]
requires = ["setuptools >= 80.9.0"]
build-backend = "setuptools.build_meta"
[project]
name = "corgos-telegram-bot"
version = "1.0.0"
description = "A fully functional Telegram image bot where all the photos are stolen from Reddit."
requires-python = ">=3.9"
readme = "README.md"
dependencies = [
"asyncpraw==7.8.1",
"python-telegram-bot[job-queue]==22.5.0",
"ujson==5.11.0",
"aiohttp==3.13.3",
]
[project.urls]
"Homepage" = "https://github.com/lorossi/corgos-telegram-bot"
"Repository" = "https://github.com/lorossi/corgos-telegram-bot"
[project.optional-dependencies]
dev = [
"ruff==0.14.10",
"mypy==1.19.1",
"types-aiofiles==25.1.0.20251011",
"asyncpraw_stubs==0.0.3",
]
test = ["pytest", "pytest-cov", "pytest-asyncio"]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
preview = true # needed for "DOC" rules
exclude = ["venv", "__pycache__", "__init__.py"]
select = ["D", "E", "W", "F", "ANN", "DOC"]
ignore = ["ANN401"] # ignore "Any" type
unfixable = ["F401"] # do not fix unused imports
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.pylance]
typeCheckingMode = "basic"
[tool.coverage.run]
branch = true
source = ["corgos_telegram_bot"]
omit = ["tests/**", "**/__init__.py", "main.py"]