40 lines
714 B
TOML
40 lines
714 B
TOML
[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
|