-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (110 loc) · 2.43 KB
/
pyproject.toml
File metadata and controls
121 lines (110 loc) · 2.43 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
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "policyengine"
version = "3.0.0"
description = "A package to conduct policy analysis using PolicyEngine tax-benefit models."
readme = "README.md"
authors = [
{name = "PolicyEngine", email = "hello@policyengine.org"},
]
license = {file = "LICENSE"}
requires-python = ">=3.13,<3.15"
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.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"sqlalchemy>=2.0.0",
"sqlmodel>=0.0.21",
"alembic>=1.13.0",
"psycopg2-binary>=2.9.0",
"pymysql>=1.1.0",
"google-cloud-storage>=2.10.0",
"getpass4",
"pydantic>=2.0.0",
"pandas>=2.0.0",
"rich>=13.0.0",
"ipywidgets>=8.0.0",
"microdf_python",
"tqdm>=4.67.1",
"blosc>=1.11.3",
]
[project.optional-dependencies]
uk = [
"policyengine_core>=3.10",
"policyengine-uk>=2.51.0",
]
us = [
"policyengine_core>=3.10",
"policyengine-us>=1.213.1",
]
dev = [
"black",
"pytest",
"furo",
"autodoc_pydantic",
"jupyter-book",
"yaml-changelog>=0.1.7",
"itables",
"build",
"pytest-asyncio>=0.26.0",
"ruff>=0.5.0",
"policyengine_core>=3.10",
"policyengine-uk>=2.51.0",
"policyengine-us>=1.213.1",
]
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"policyengine" = ["**/*"]
[project.scripts]
pe-migrate = "policyengine.migrations.runner:main"
[tool.pytest.ini_options]
addopts = "-v"
testpaths = [
"tests",
]
[tool.black]
line-length = 79
target-version = ['py311']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.ruff]
line-length = 79
target-version = "py313"
extend-exclude = ["*.ipynb"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # import sorting
"W", # pycodestyle warnings
"UP", # pyupgrade
]
ignore = ["E501"] # Ignore line length errors
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"