forked from ChelseaKR/mrf-honest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (62 loc) · 1.87 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (62 loc) · 1.87 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mrf-honest"
version = "0.1.0.dev0"
description = "Bounded inspection and contracted local ingestion of CMS hospital price-transparency files"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "Apache-2.0" }
authors = [{ name = "Chelsea Kelly-Reif" }]
dependencies = []
[project.scripts]
mrf-honest = "mrf_honest.cli:main"
# `lakehouse` stays an *extra* because it is an installable feature of the distribution: a
# consumer who wants the DuckDB warehouse asks for `mrf-honest[lakehouse]`. The development
# toolchain is not a feature of the distribution and nobody should be able to install it from
# PyPI, so it lives in a PEP 735 dependency group that `uv sync` installs by default and a
# wheel never carries (CQ-27).
[project.optional-dependencies]
lakehouse = [
"duckdb>=1.4,<2",
]
[dependency-groups]
dev = [
"pytest>=8",
"pytest-cov>=5",
"hypothesis>=6",
"mypy>=1.18",
"ruff>=0.15",
"pip-audit>=2.9",
"duckdb>=1.4,<2",
"pre-commit>=4,<5",
]
[tool.hatch.build.targets.wheel]
packages = ["src/mrf_honest"]
[tool.mypy]
strict = true
python_version = "3.12"
files = ["src", "perf"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "S", "C90", "UP", "RUF"]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--strict-markers"
# perf/score_lighthouse.py is the accessibility gate's scorer. It lives outside the package
# because it must never ship in the wheel, and it is on the test path because an unexercised
# gate is the thing it exists to prevent.
pythonpath = ["perf"]
[tool.coverage.run]
branch = true
source = ["src/mrf_honest"]
[tool.coverage.report]
fail_under = 85
show_missing = true