Files
hinpdof/pyproject.toml
Hadley Rich 9fed90d9fe
All checks were successful
Build and Publish Docker Image / build (push) Successful in 50s
Fix c&p dockerfile for running fastapi
2024-11-11 10:59:06 +13:00

32 lines
781 B
TOML

[tool.poetry]
name = "hinpdof"
version = "0.1.0"
license = "MIT"
description = "Uses FastAPI to expose a REST API which takes HTML as input and converts to PDF output using Weasyprint"
authors = ["Hadley Rich <hads@nice.net.nz>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
fastapi = {extras = ["standard"], version = "^0.115.4"}
weasyprint = "^63.0"
logfire = {extras = ["fastapi"], version = "^2.1.2"}
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
httpx = "^0.27.2"
pytest-cov = "^4.0.0"
ruff = "^0.0.289"
pre-commit = "^3.4.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 88
target-version = "py312"
select = ["E", "F", "W", "C", "N", "B"]
ignore = ["E501"]