myst/web/pyproject.toml
ZTatman d382ad348f feat(web): OAuth CSRF protection, refactor, and cleanup
- Add CSRF state parameter to Forgejo OAuth flow
- Refactor callback route into focused helper functions
- Remove unused FORGEJO_PAT config from web service
- Add pat_encrypted field to User model
- Fix circular imports with TYPE_CHECKING guards
- Fix session cookie not reaching browser (secure=True + response object)
- Add ruff linting/formatting to web project
- Add env_file to docker-compose for OAuth credentials
- Document OAuth setup steps in README
2026-05-15 13:40:50 -04:00

24 lines
512 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 = [
"asyncpg>=0.31.0",
"cryptography>=46.0.0",
"fastapi>=0.136.0",
"httpx>=0.28.0",
"pydantic-settings>=2.13.1",
"pydantic[email]>=2.13.2",
"sqlalchemy[asyncio]>=2.0.49",
]
[dependency-groups]
dev = [
"ruff>=0.11.0",
"uvicorn[standard]>=0.44.0",
]