-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (51 loc) · 1.64 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (51 loc) · 1.64 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
[project]
name = "moza-poc-digitale-assistent"
version = "0.1.0"
description = "PoC Digitale Assistent voor MijnOverheid Zakelijk (MOZa)"
readme = "README.md"
requires-python = ">=3.12"
license = "EUPL-1.2"
dependencies = [
"anthropic>=0.39.0",
"openai>=1.50.0",
"mcp>=1.1.0",
"python-dotenv>=1.0.0",
"fastapi>=0.115.0",
"uvicorn>=0.32.0",
"lxml>=5.0.0",
"httpx>=0.27.0",
]
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24",
"pytest-cov>=5.0",
"ruff>=0.7",
"pre-commit>=4.0",
]
[tool.uv]
package = false
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = ["services/cli"]
[tool.ruff.lint]
# E9 = kritieke Pycodestyle errors (syntax/IO)
# F = Pyflakes (ongebruikte imports/variabelen, undefined names)
# I = isort (importvolgorde)
# W = Pycodestyle warnings
# UP = pyupgrade (verouderde syntax moderniseren)
# B = flake8-bugbear (veelgemaakte bugs, bv. zip zonder strict=)
select = ["E9", "F", "I", "W", "UP", "B"]
[tool.ruff.lint.isort]
# Host-modules draaien top-level op de pythonpath (services/host), dus ruff kan
# ze niet vanzelf als first-party herkennen. Expliciet benoemen zodat ze in een
# eigen importgroep komen i.p.v. tussen de third-party imports.
known-first-party = ["config", "vlam_host", "cli_executor", "errors", "feiten", "mcp_client", "prompts", "log_redaction", "subprocess_env", "regelrouting", "slots", "regelloop"]
[tool.coverage.run]
# Meet alleen broncode-dekking; testbestanden zelf tellen niet mee.
omit = ["services/host/tests/*"]
[tool.pytest.ini_options]
testpaths = ["services/host/tests"]
pythonpath = ["services/host"]
asyncio_mode = "auto"