-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (65 loc) · 1.68 KB
/
pyproject.toml
File metadata and controls
77 lines (65 loc) · 1.68 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
[project]
name = "rss-glue"
version = "2.0.0"
description = "RSS feed aggregator and merger"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.109.0",
"uvicorn>=0.27.0",
"sqlmodel>=0.0.14",
"jinja2>=3.1.0",
"feedparser>=6.0.0",
"pydantic>=2.0.0",
"python-multipart>=0.0.6",
"croniter>=2.0.0",
"httpx>=0.26.0",
"feedgen>=1.0.0",
"argon2-cffi>=23.0.0",
"itsdangerous>=2.0.0",
"beautifulsoup4>=4.12.0",
"nh3>=0.3.2",
"anthropic>=0.39.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"httpx>=0.26.0",
"pytest-asyncio>=0.23.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"poethepoet>=0.40.0",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"respx>=0.22.0",
"ruff>=0.14.11",
"ty>=0.0.11",
]
[tool.ty.src]
exclude = ["v1", "prod.py"]
[tool.ruff]
exclude = ["v1", "prod.py"]
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"
[tool.poe.tasks.validate]
parallel = ["lint", "type", "format"]
[tool.poe.tasks]
dev = "uvicorn rss_glue.main:app --reload --host 0.0.0.0"
devworker = "ENABLE_BACKGROUND_WORKER=true uvicorn rss_glue.main:app --reload"
worker = "python -m rss_glue.worker"
reset-password = "python -m rss_glue.scripts.reset_password"
test = "pytest"
lint = "ruff check"
type = "ty check"
format = "ruff format"
update-feeds = "uv run ./scripts/upload_config.py"