-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
87 lines (74 loc) · 2.06 KB
/
pyproject.toml
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "policyengine-taxsim"
version = "0.1.0"
description = "A TAXSIM emulator using PolicyEngine US"
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
authors = [
{name = "Al Noman", email = "[email protected]"},
]
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",
"pandas",
"PyYAML",
"click",
"matplotlib",
"numpy",
"policyengine_tests_generator @ git+https://github.com/noman404/policyengine-tests-generator.git"
]
[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:main"
[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"
"policyengine_taxsim/config" = "policyengine_taxsim/config"
[tool.hatch.envs.default]
dependencies = [
"pytest",
"pytest-cov",
]
[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.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests",
]