- Add jinja2, aiofiles, jinja2-fragments, python-multipart deps - Wire up Jinja2Blocks (jinja2-fragments) and static file serving - Create base.html (Pico Jade theme, HTMX, nav with auth state) - Create index.html (landing) and dashboard.html (user profile) - Add get_optional_session dependency for anonymous template context - Refactor get_current_session to share session lookup logic
28 lines
620 B
TOML
28 lines
620 B
TOML
[tool.ruff]
|
|
target-version = "py313"
|
|
line-length = 100
|
|
|
|
[project]
|
|
name = "myst-web"
|
|
version = "0.1.0"
|
|
description = "Myst: FastAPI + HTMX web interface for managing Forgejo repositories"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"aiofiles>=24.1.0",
|
|
"asyncpg>=0.31.0",
|
|
"cryptography>=46.0.0",
|
|
"fastapi>=0.136.0",
|
|
"httpx>=0.28.1",
|
|
"jinja2>=3.1.0",
|
|
"jinja2-fragments>=0.1.0",
|
|
"pydantic-settings>=2.13.1",
|
|
"pydantic[email]>=2.13.2",
|
|
"python-multipart>=0.0.18",
|
|
"sqlalchemy[asyncio]>=2.0.49",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff>=0.11.0",
|
|
"uvicorn[standard]>=0.44.0",
|
|
]
|