Scaffold project layout

This commit is contained in:
ameer
2026-05-02 02:54:34 +08:00
parent 320f1e4440
commit f5ac80a7a5
36 changed files with 183 additions and 0 deletions

39
pyproject.toml Normal file
View File

@@ -0,0 +1,39 @@
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "quiz"
version = "0.1.0"
description = "Live in-lecture quiz portal"
requires-python = ">=3.11"
dependencies = [
"fastapi~=0.115",
"uvicorn[standard]~=0.34",
"aiosqlite~=0.20",
"itsdangerous~=2.2",
"python-multipart~=0.0.20",
"qrcode[pil]~=8.0",
]
[project.optional-dependencies]
dev = [
"pytest~=8.3",
"pytest-asyncio~=0.25",
"pytest-cov~=6.0",
"httpx~=0.28",
]
[tool.setuptools]
packages = ["app"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.coverage.run]
source = ["app"]
[tool.coverage.report]
show_missing = true
fail_under = 80