-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (89 loc) · 2.12 KB
/
pyproject.toml
File metadata and controls
102 lines (89 loc) · 2.12 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[project]
name = "policyengine-api-v2"
version = "0.6.6"
description = "FastAPI service for PolicyEngine microsimulations"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
"sqlmodel>=0.0.22",
"psycopg2-binary>=2.9.10",
"supabase>=2.10.0",
"storage3>=0.8.1",
"policyengine>=3.2.3",
"policyengine-uk==2.75.1",
"policyengine-us==1.666.1",
"pydantic>=2.9.2",
"pydantic-settings>=2.6.0",
"rich>=13.9.4",
"tables>=3.10.2",
"logfire[fastapi,httpx,sqlalchemy]>=0.60.0",
"fastapi-cache2>=0.2.1",
"boto3>=1.41.1",
"fastapi-mcp>=0.4.0",
"modal>=0.68.0",
"anthropic>=0.40.0",
"alembic>=1.13.0",
"cachetools>=7.0.5",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3.3",
"pytest-asyncio>=0.24.0",
"httpx>=0.27.2",
"ruff>=0.7.4",
"pytest-cov>=5.0.0",
"towncrier>=24.8.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/policyengine_api"]
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = ["E501"] # Tool descriptions need to be long
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
asyncio_mode = "auto"
filterwarnings = [
"ignore::ResourceWarning",
]
markers = [
"integration: tests that require external services (API keys, databases)",
"staging: tests that run against a deployed staging URL",
"slow: tests that take a long time to run",
]
[tool.towncrier]
directory = "changelog.d"
filename = "CHANGELOG.md"
title_format = "{version} ({project_date})"
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "added"
name = "Added"
showcontent = true
[[tool.towncrier.type]]
directory = "changed"
name = "Changed"
showcontent = true
[[tool.towncrier.type]]
directory = "fixed"
name = "Fixed"
showcontent = true
[[tool.towncrier.type]]
directory = "removed"
name = "Removed"
showcontent = true
[dependency-groups]
dev = [
"pytest-asyncio>=1.3.0",
]