Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (115 loc) · 3.4 KB
/
Copy pathpyproject.toml
File metadata and controls
130 lines (115 loc) · 3.4 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[project]
name = "policyengine-uk"
version = "2.162.14"
description = "PolicyEngine tax and benefit system for the UK."
readme = "README.md"
authors = [
{ name = "PolicyEngine", email = "nikhil@policyengine.org" }
]
maintainers = [
{ name = "Nikhil Woodruff", email = "nikhil@policyengine.org" }
]
license = "AGPL-3.0"
keywords = ["benefit", "microsimulation", "social", "tax"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Information Analysis",
]
requires-python = ">=3.11"
dependencies = [
"policyengine-core>=3.33.0",
"microdf-python>=1.2.1",
"pydantic>=2.11.7",
"tables>=3.10.2",
]
[project.urls]
Homepage = "https://github.com/PolicyEngine/policyengine-uk"
Repository = "https://github.com/PolicyEngine/policyengine-uk"
Issues = "https://github.com/PolicyEngine/policyengine-uk/issues"
Changelog = "https://github.com/PolicyEngine/policyengine-uk/blob/master/CHANGELOG.md"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = [
"policyengine_uk/**/*",
"CHANGELOG.md",
"LICENSE",
"README.md",
]
[tool.hatch.build.targets.wheel]
packages = ["policyengine_uk"]
# Records the commit the wheel is built from; see hatch_build.py.
[tool.hatch.build.targets.wheel.hooks.custom]
path = "hatch_build.py"
[project.optional-dependencies]
dev = [
# pytest and wheel are brought in transitively by policyengine-core's
# runtime dependencies, so they're not repeated here. coverage,
# pytest-cov, ruff and towncrier live in core's dev extras, which pip
# does NOT install transitively when installing policyengine-uk[dev],
# so they must be listed explicitly here.
"coverage",
# Builds wheels in the build hook tests.
"hatchling",
"hypothesis",
"pytest-cov",
"pytest-xdist",
"ruff>=0.9.0",
"towncrier>=24.8.0",
"furo<2023",
"tqdm",
"setuptools",
"sphinx-argparse>=0.3.2,<1",
"sphinx-math-dollar>=1.2.1,<2",
"snowballstemmer>=2,<3",
"jupyter-book>=2.0.0a0",
"rich",
]
[tool.pytest.ini_options]
markers = [
"microsimulation: marks tests that use full microsimulation (deselect with '-m \"not microsimulation\"')",
]
[tool.towncrier]
package = "policyengine_uk"
directory = "changelog.d"
filename = "CHANGELOG.md"
title_format = "## [{version}] - {project_date}"
issue_format = ""
underlines = ["", "", ""]
[[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
[tool.ruff]
line-length = 88
target-version = "py311"
extend-exclude = [
"docs/book/programs/gov/dfe/care-to-learn.ipynb",
]
[tool.ruff.lint]
select = ["E", "F"]
ignore = ["E402", "E501", "E712", "E713", "E721", "E722", "E741", "F401", "F402", "F403", "F405", "F541", "F811", "F821", "F841"]