-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (72 loc) · 1.83 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (72 loc) · 1.83 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
[project]
name = "microdata-lab"
version = "0.1.0"
description = "Zero-manual-download public microdata acquisition, cataloging, analysis, and visualization"
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
dependencies = [
"duckdb>=1.3.0",
"filelock>=3.18.0",
"httpx>=0.28.1",
"numpy>=2.2.0",
"pandas>=2.2.3",
"platformdirs>=4.3.8",
"pydantic>=2.11.7",
"pyarrow>=19.0.0",
"python-dotenv>=1.1.1",
"pyreadstat>=1.2.8",
"pyyaml>=6.0.2",
"rich>=14.0.0",
"scipy>=1.14.0",
"selectolax>=0.3.31",
"statsmodels>=0.14.0",
"typer>=0.16.0",
"openpyxl>=3.1.5",
"curl-cffi>=0.16.0",
]
[project.optional-dependencies]
docs = ["pypdf>=5.6.0"]
dev = [
"mypy>=1.16.0",
"pandas-stubs>=2.2.3",
"pillow>=11.0.0",
"pytest>=8.4.0",
"pytest-cov>=6.2.0",
"respx>=0.22.0",
"ruff>=0.12.0",
"types-pyyaml>=6.0.12.20250516",
]
[project.scripts]
microdata = "microdata_lab.cli:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/microdata_lab"]
[tool.pytest.ini_options]
addopts = "-q --strict-markers"
testpaths = ["tests"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM", "RUF"]
# The project uses typographic punctuation intentionally in chart copy,
# docstrings, and publication notes. These rules mistake that copy for
# ambiguous identifiers; they do not improve runtime correctness here.
ignore = ["RUF001", "RUF002", "RUF003"]
[tool.ruff.lint.per-file-ignores]
"src/microdata_lab/cli.py" = ["B008"]
"analyses/*/estimate.py" = ["E501"]
[tool.mypy]
python_version = "3.11"
strict = true
packages = ["microdata_lab"]
[[tool.mypy.overrides]]
module = ["pyarrow", "pyarrow.*"]
ignore_missing_imports = true
[dependency-groups]
dev = [
"types-openpyxl>=3.1.5.20260724",
]