-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (39 loc) · 1.05 KB
/
Copy pathpyproject.toml
File metadata and controls
45 lines (39 loc) · 1.05 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
[project]
name = "shrtr"
version = "0.1.0"
description = "Rate-limited URL shortener with an async click-analytics pipeline (FastAPI, PostgreSQL, Redis Streams)"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.111",
"uvicorn[standard]>=0.30",
"sqlalchemy[asyncio]>=2.0",
"asyncpg>=0.29",
"alembic>=1.13",
"redis>=5.0",
"pydantic>=2.7",
"pydantic-settings>=2.2",
"prometheus-client>=0.20",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"httpx>=0.27",
"ruff>=0.4",
# component tests: full pipeline in-process, no Docker needed
"fakeredis[lua]>=2.23",
"aiosqlite>=0.20",
]
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["app*", "workers*", "scripts*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
markers = ["integration: requires docker compose stack running (set INTEGRATION=1)"]
[tool.ruff]
line-length = 110
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]