48 lines
1,001 B
TOML
48 lines
1,001 B
TOML
[project]
|
|
name = "paperjet-backend"
|
|
version = "0.1.0"
|
|
description = "PaperJet — self-hosted PDF editor backend"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi>=0.115.0",
|
|
"uvicorn[standard]>=0.32.0",
|
|
"pymupdf>=1.25.0",
|
|
"sqlalchemy>=2.0.0",
|
|
"alembic>=1.14.0",
|
|
"pydantic>=2.10.0",
|
|
"pydantic-settings>=2.7.0",
|
|
"argon2-cffi>=23.1.0",
|
|
"itsdangerous>=2.2.0",
|
|
"python-multipart>=0.0.18",
|
|
"aiofiles>=24.1.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.3.0",
|
|
"pytest-asyncio>=0.24.0",
|
|
"httpx>=0.28.0",
|
|
"ruff>=0.8.0",
|
|
"mypy>=1.13.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=75.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
strict = true
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["app/tests"]
|