This commit is contained in:
31
pyproject.toml
Normal file
31
pyproject.toml
Normal file
@@ -0,0 +1,31 @@
|
||||
[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 = "^0.115.4"
|
||||
weasyprint = "^63.0"
|
||||
uvicorn = "^0.32.0"
|
||||
|
||||
[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"]
|
||||
Reference in New Issue
Block a user