Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (62 loc) · 1.82 KB
/
Copy pathpyproject.toml
File metadata and controls
71 lines (62 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[tool.poetry]
name = "gfmodules-prs-beheer-api"
version = "0.1.0"
description = ""
license = "EUPL-1.2"
authors = ["Ministerie van Volksgezondheid, Welzijn en Sport"]
repository = "https://github.com/minvws/gfmodules-prs-beheer-api"
readme = "README.md"
packages = [{ include = "app" }]
include = [{ path = "version.json" }]
exclude = ["app/debug"]
[tool.poetry.dependencies]
python = "^3.14"
uvicorn = "0.54.0"
fastapi = ">=0.136.3,<0.142.0"
pydantic-settings = "^2.13.0"
inject = "^5.3.0"
sqlalchemy = "^2.0.49"
psycopg = { extras = ["binary", "pool"], version = "^3.3.2" }
opentelemetry-sdk = "^1.45.1"
opentelemetry-exporter-otlp-proto-grpc = "^1.45.1"
opentelemetry-instrumentation = "^0.66b1"
opentelemetry-instrumentation-fastapi = "^0.66b1"
opentelemetry-instrumentation-requests = "^0.66b1"
requests = "^2.33.1"
statsd = "^4.0.1"
cryptography = ">=42.0.0"
gfmodules-python-logging-library = { git = "https://github.com/minvws/gfmodules-python-logging-library", tag = "v0.5.0", extras = [
"fastapi",
] }
[tool.poetry.group.dev.dependencies]
pytest = "^9.0.2"
pytest-cov = "^7.0.0"
pytest-mock = "^3.15.0"
ruff = "0.16.9"
codespell = "^2.4.1"
pip-audit = "^2.10.0"
mypy = "^2.1.0"
types-requests = "^2.33.0.20260518"
httpx = "^0.28.1"
[tool.poetry.group.debug.dependencies]
debugpy = "^1.8.20"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
cache-dir = "~/.cache/ruff"
include = ["pyproject.toml", "app/*.py", "tests/*.py"]
line-length = 120
[tool.mypy]
files = "app,tests"
python_version = "3.14"
strict = true
cache_dir = "~/.cache/mypy"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tests.*"
# Since this are our tests, we don't need "-> None" annotations everywhere
disallow_untyped_defs = false
[tool.pytest.ini_options]
cache_dir = "~/.cache/pytest"
testpaths = ["tests"]