-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (78 loc) · 3.25 KB
/
pyproject.toml
File metadata and controls
89 lines (78 loc) · 3.25 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "microplex-us"
version = "0.2.0"
description = "US-specific adapters, pipelines, and PolicyEngine integration for microplex"
readme = "README.md"
license = "MIT"
authors = [
{ name = "PolicyEngine", email = "hello@policyengine.org" }
]
requires-python = ">=3.13"
dependencies = [
"microplex[calibrate] @ git+https://github.com/PolicyEngine/microplex.git@1e0627182f9df40aacd7043c96956c2895bf9d30",
"duckdb>=1.2",
"h5py>=3.10",
"requests>=2.31",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"ruff>=0.1",
]
r2 = [
"boto3>=1.34",
]
policyengine = [
"microimpute==1.15.1 ; python_full_version >= '3.12' and python_full_version < '3.15'",
"policyengine-us==1.587.0; python_version >= '3.11' and python_version < '3.15'",
"spm-calculator>=0.3.1",
]
[project.urls]
Repository = "https://github.com/PolicyEngine/microplex-us"
[project.scripts]
microplex-us-arch-target-coverage = "microplex_us.targets.arch:main_coverage"
microplex-us-arch-target-gaps = "microplex_us.targets.arch:main_gaps"
microplex-us-arch-target-parity = "microplex_us.targets.arch:main_parity"
microplex-us-arch-target-refresh = "microplex_us.targets.arch:main_refresh"
microplex-us-arch-target-smoke = "microplex_us.targets.arch:main_smoke"
microplex-us-build-aca-ptc-multipliers = "microplex_us.targets.aca_ptc:main"
microplex-us-backfill-pe-native-audit = "microplex_us.pipelines.backfill_pe_native_audit:main"
microplex-us-backfill-pe-native-scores = "microplex_us.pipelines.backfill_pe_native_scores:main"
microplex-us-check-site-snapshot = "microplex_us.pipelines.check_site_snapshot:main"
microplex-us-compact-policyengine-dataset = "microplex_us.pipelines.compact_policyengine_dataset:main"
microplex-us-mp300k-artifact-gates = "microplex_us.pipelines.mp300k_artifact_gates:main"
microplex-us-package-mp300k-gate-inputs = "microplex_us.pipelines.mp300k_gate_inputs:main"
microplex-us-pe-dataset-readiness = "microplex_us.pipelines.pe_us_dataset_readiness:main"
microplex-us-dashboard = "microplex_us.pipelines.dashboard:main"
microplex-us-pe-native-calibration-benchmark = "microplex_us.pipelines.pe_native_calibration_benchmark:main"
microplex-us-pe-native-target-diagnostics = "microplex_us.pipelines.pe_native_scores:main_target_diagnostics"
microplex-us-r2-archive-artifact = "microplex_us.pipelines.r2_artifacts:main"
microplex-us-reweight-cd-age-targets = "microplex_us.pipelines.cd_age_reweighting:main"
microplex-us-score-pe-native-loss = "microplex_us.pipelines.pe_native_scores:main"
microplex-us-version-bump-benchmark = "microplex_us.pipelines.version_benchmark:main"
[tool.hatch.build.targets.wheel]
packages = ["src/microplex_us"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel.force-include]
"src/microplex_us/pipelines/pe_native_scores.py" = "microplex_us/pipelines/pe_native_scores.py"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --tb=short"
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = [
"E501",
"N803",
"N806",
]
[tool.ruff.lint.per-file-ignores]
"examples/**/*.py" = ["E402"]
"tests/**/*.py" = ["E402", "N802"]