Extracted from /home/wizard/code monorepo into its own repo so Woodpecker CI can watch it. Identical content to /home/wizard/code commit e426028. See README.md for overview, env vars, and Paperless workflow config. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
56 lines
1.2 KiB
TOML
56 lines
1.2 KiB
TOML
[tool.poetry]
|
|
name = "payslip-ingest"
|
|
version = "0.1.0"
|
|
description = "Event-driven UK payslip ingest from Paperless-ngx via claude-agent-service extraction"
|
|
authors = ["Viktor Barzin <viktorbarzin@meta.com>"]
|
|
readme = "README.md"
|
|
packages = [{ include = "payslip_ingest" }]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.12,<3.13"
|
|
fastapi = "^0.115"
|
|
uvicorn = "^0.32"
|
|
httpx = "^0.27"
|
|
pydantic = "^2.9"
|
|
sqlalchemy = { extras = ["asyncio"], version = "^2.0" }
|
|
asyncpg = "^0.29"
|
|
alembic = "^1.13"
|
|
click = "^8.1"
|
|
prometheus-fastapi-instrumentator = "^7.0"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pytest = "^8.3"
|
|
pytest-asyncio = "^0.23"
|
|
mypy = "^1.11"
|
|
ruff = "^0.6"
|
|
yapf = "^0.43"
|
|
respx = "^0.21"
|
|
aiosqlite = "^0.20"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
strict = true
|
|
files = ["payslip_ingest", "tests"]
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["respx.*"]
|
|
ignore_missing_imports = true
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
|
|
|
|
[tool.yapf]
|
|
based_on_style = "pep8"
|
|
column_limit = 100
|