forked from PSLmodels/OG-Core
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (102 loc) · 2.98 KB
/
pyproject.toml
File metadata and controls
111 lines (102 loc) · 2.98 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
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ogcore"
version = "0.15.6"
authors = [
{name = "Jason DeBacker and Richard W. Evans"},
]
description = "A general equilibrium overlapping generations model for fiscal policy analysis"
readme = "README.md"
license = {text = "CC0 1.0 Universal (CC0 1.0) Public Domain Dedication"}
requires-python = ">=3.11, <3.14"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"numpy>=1.26,<2.4",
"scipy>=1.7.1",
"pandas>=1.2.5",
"numba",
"matplotlib",
"dask>=2.30.0",
"distributed>=2.30.1",
"paramtools>=0.20.0",
"requests",
"pygam",
]
[project.urls]
Homepage = "https://github.com/PSLmodels/OG-Core/"
"Issue Tracker" = "https://github.com/PSLmodels/OG-Core/issues"
[project.optional-dependencies]
dev = [
"pytest>=6.0",
"pytest-cov",
"pytest-xdist",
"coverage",
"ruff",
"openpyxl>=3.1.2",
"linecheck",
]
docs = [
"jupyter-book<2.0.0",
"jupyter",
"ipykernel",
"sphinx>=3.5.4",
"sphinx-argparse",
"sphinxcontrib-bibtex>=2.0.0",
"sphinx-math-dollar",
"pydata-sphinx-theme",
]
[tool.setuptools.packages.find]
include = ["ogcore*"]
[tool.setuptools.package-data]
ogcore = [
"default_parameters.json",
"model_variables.json",
"OGcorePlots.mplstyle",
]
[tool.ruff]
line-length = 79
target-version = "py311"
exclude = [
"**/*.ipynb",
"benchmark_root_methods*.py",
"tests/do_not_test_*.py",
"tests/run_benchmarks.py",
"examples/run_ogcore_example_corp_tax_cut_*.py",
]
[tool.ruff.lint]
select = ["E", "F", "W"]
ignore = ["F841"]
[tool.ruff.lint.pycodestyle]
max-doc-length = 120
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
filterwarnings = [
"ignore::RuntimeWarning:.*invalid value encountered.*",
"ignore::RuntimeWarning:.*divide by zero encountered in divide.*",
"ignore::RuntimeWarning:.*invalid value encountered in power.*",
]
markers = [
"local: marks tests that run locally and not on GH Actions (mostly due to run time)",
"benchmark: marks tests that measure performance and memory usage",
"distributed: marks tests that use distributed Dask clients",
"memory: marks tests focused on memory usage measurement",
"performance: marks tests focused on compute time measurement",
"slow: marks tests that take longer to run",
"real: marks tests using real OG-Core tax function code",
"platform: marks tests for platform-specific optimization",
]