-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (109 loc) · 2.77 KB
/
pyproject.toml
File metadata and controls
130 lines (109 loc) · 2.77 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "policyengine-taxsim"
version = "2.21.12"
description = "A TAXSIM emulator using PolicyEngine US"
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
authors = [
{name = "Al Noman", email = "al@policyengine.org"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"policyengine-us>=1.552.0",
"pandas",
"PyYAML",
"click",
"matplotlib",
"numpy",
"tqdm",
]
[project.optional-dependencies]
api = [
"fastapi>=0.100.0",
"uvicorn>=0.20.0",
"resend>=2.0.0",
]
[tool.hatch.metadata]
allow-direct-references = true
[project.urls]
Homepage = "https://github.com/PolicyEngine/policyengine-taxsim"
"Bug Tracker" = "https://github.com/PolicyEngine/policyengine-taxsim/issues"
[project.scripts]
policyengine-taxsim = "policyengine_taxsim.cli:cli"
[tool.hatch.build.targets.wheel]
packages = ["policyengine_taxsim"]
include = [
"policyengine_taxsim/**/*.py",
"policyengine_taxsim/config/*.yaml",
]
[tool.hatch.build.targets.wheel.shared-data]
"resources/taxsim35" = "share/policyengine_taxsim/taxsim35"
"resources/taxsimtest" = "share/policyengine_taxsim/taxsimtest"
"policyengine_taxsim/config" = "policyengine_taxsim/config"
[tool.hatch.envs.default]
dependencies = [
"pytest",
"pytest-cov",
"ruff>=0.9.0",
]
[tool.hatch.envs.default.scripts]
test = "pytest tests/ {args}"
test-cov = "pytest tests/ --cov-report=term-missing --cov-config=pyproject.toml --cov=policyengine_taxsim {args}"
cov-report = ["- coverage combine", "coverage report"]
[tool.coverage.run]
branch = true
parallel = true
omit = [
"policyengine_taxsim/__init__.py",
]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.towncrier]
package = "policyengine_taxsim"
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.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests",
]