mirror of
https://github.com/harivansh-afk/url-shortner.git
synced 2026-04-15 10:05:18 +00:00
30 lines
585 B
TOML
30 lines
585 B
TOML
[project]
|
|
name = "url-shortner"
|
|
version = "0.1.0"
|
|
description = "Distributed URL shortening service for learning system design"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.109.0",
|
|
"uvicorn[standard]>=0.27.0",
|
|
"asyncpg>=0.29.0",
|
|
"redis>=5.0.0",
|
|
"pydantic>=2.5.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=0.23.0",
|
|
"httpx>=0.26.0",
|
|
"ruff>=0.1.0",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|