-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (83 loc) · 2.1 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (83 loc) · 2.1 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
[build-system]
requires = ["setuptools>=68.2.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "macromodel"
version = "1.0.0"
description = "Combined macro-data and macro-model packages for agent-based modeling"
readme = "README.md"
requires-python = ">=3.10,<3.13"
license = { text = "Proprietary" }
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"h5py",
"matplotlib",
"numba",
"numpy",
"pandas",
"pyarrow",
"pydantic",
"pyyaml",
"scikit-learn",
"scipy",
"setuptools",
"skops",
"statsmodels",
"tables",
"tqdm",
"strenum",
"cvxpy",
"torch>=2.6.0,<2.7.0",
"joblib",
"sbi",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"ruff",
]
docs = [
"mkdocs",
"notebook",
"mike",
"mkdocs-autorefs",
"mkdocs-get-deps",
"mkdocs-material",
"mkdocs-material-extensions",
"mkdocstrings",
"mkdocstrings-python",
"mkdocs-jupyter",
"mistune",
"nbconvert",
]
[tool.setuptools]
include-package-data = true
package-data = {"*" = ["*.yaml"]}
[tool.setuptools.packages.find]
where = ["."]
include = ["macro_data*", "macromodel*", "macrocalib*"]
[tool.ruff]
line-length = 120
extend-exclude = ["debug_scripts"]
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.isort]
known-first-party = ["macro_data", "macromodel"]
[tool.pytest.ini_options]
filterwarnings = [
# Ignore numpy matmul warnings (overflow, invalid, divide by zero)
"ignore:overflow encountered in matmul:RuntimeWarning",
"ignore:invalid value encountered in matmul:RuntimeWarning",
"ignore:divide by zero encountered in matmul:RuntimeWarning",
# Ignore osqp deprecation warning about raise_error default
"ignore:The default value of raise_error will change:PendingDeprecationWarning",
# Ignore sklearn version mismatch when unpickling models
"ignore:Trying to unpickle estimator.*:sklearn.exceptions.InconsistentVersionWarning",
]