40 lines
732 B
TOML
40 lines
732 B
TOML
[project]
|
|
name = "handin-website"
|
|
version = "0.1.0"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi==0.135.1",
|
|
"uvicorn[standard]==0.41.0",
|
|
"pydantic==2.12.5",
|
|
"pydantic-settings==2.13.1",
|
|
"python-multipart==0.0.22",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest==9.0.2",
|
|
"httpx==0.28.1",
|
|
"ruff==0.15.4",
|
|
"mypy==1.19.1",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["backend/tests"]
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 99
|
|
src = ["backend"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["app"]
|
|
|
|
[tool.mypy]
|
|
strict = true
|
|
python_version = "3.12"
|
|
mypy_path = "backend"
|
|
packages = ["app"]
|
|
plugins = ["pydantic.mypy"]
|