Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (57 loc) · 2.42 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (57 loc) · 2.42 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
[project]
name = "readout"
version = "0.1.0"
description = "Health-first experimentation with independently calibrated statistical decisions"
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE", "THIRD_PARTY_NOTICES.md"]
requires-python = ">=3.12,<3.13"
dependencies = [
"readout-core", "readout-assign", "readout-sim", "readout-stats",
"readout-calibrate", "readout-render", "readout-api",
"numpy>=2.2", "scipy>=1.15", "polars>=1.25", "statsmodels>=0.14",
"pydantic>=2.10", "sqlmodel>=0.0.24", "sqlalchemy>=2.0", "fastapi>=0.115",
"uvicorn>=0.34", "python-multipart>=0.0.20", "structlog>=25.1",
"alembic>=1.15", "psycopg[binary]>=3.2", "jinja2>=3.1", "markdown>=3.7",
"httpx>=0.28", "pyyaml>=6.0", "typer>=0.16",
]
[project.scripts]
readout = "readout_render.cli:app"
[tool.uv.workspace]
members = ["packages/*"]
[tool.uv.sources]
readout-core = { workspace = true }
readout-assign = { workspace = true }
readout-sim = { workspace = true }
readout-stats = { workspace = true }
readout-calibrate = { workspace = true }
readout-render = { workspace = true }
readout-api = { workspace = true }
[dependency-groups]
dev = ["pytest>=8.3", "pytest-cov>=6", "pytest-asyncio>=0.26", "hypothesis>=6.130", "ruff>=0.11", "mypy>=1.15", "testcontainers[postgres]>=4.10", "types-PyYAML", "types-Markdown", "pillow>=11", "asgi-lifespan>=2.1"]
[tool.ruff]
target-version = "py312"
line-length = 100
extend-exclude = ["web", "artifacts", ".cache", "experiments/pricepoint/source-plan_experiment.py"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I", "UP", "B"]
[tool.mypy]
python_version = "3.12"
strict = true
files = ["packages", "scripts"]
ignore_missing_imports = true
explicit_package_bases = true
mypy_path = ["packages/core/src", "packages/assign/src", "packages/sim/src", "packages/stats/src", "packages/calibrate/src", "packages/render/src", "packages/api/src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra --strict-markers"
markers = ["external: requires a probed external executable", "postgres: requires independently probed Docker Postgres", "calibration: seeded Monte Carlo validation"]
[tool.coverage.run]
source = ["readout_core", "readout_assign", "readout_sim", "readout_stats", "readout_calibrate", "readout_render", "readout_api"]
[tool.coverage.report]
show_missing = true
fail_under = 80
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["scripts"]