-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (100 loc) · 2.39 KB
/
pyproject.toml
File metadata and controls
113 lines (100 loc) · 2.39 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "dsgekit"
dynamic = ["version"]
description = "A Python toolkit for DSGE models"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.13"
authors = [
{ name = "Gustavo Vargas", email = "ge.vargasn@gmail.com" },
]
keywords = [
"dsge",
"macroeconomics",
"economics",
"state-space",
"kalman-filter",
"impulse-response",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
]
dependencies = [
"numpy>=2.0",
"scipy>=1.14",
"pandas>=2.2",
]
[project.optional-dependencies]
sym = ["sympy>=1.13"]
plot = ["matplotlib>=3.9"]
speed = ["numba>=0.60"]
jax = ["jax>=0.4", "jaxlib>=0.4"]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.4",
"mypy>=1.10",
"pre-commit>=3.7",
]
all = [
"dsgekit[sym]",
"dsgekit[plot]",
"dsgekit[speed]",
"dsgekit[dev]",
]
[project.scripts]
dsgekit = "dsgekit.cli.main:main"
[project.urls]
Homepage = "https://github.com/gustavovargas/dsgekit"
Documentation = "https://github.com/gustavovargas/dsgekit#readme"
Repository = "https://github.com/gustavovargas/dsgekit"
Issues = "https://github.com/gustavovargas/dsgekit/issues"
[tool.hatch.version]
path = "src/dsgekit/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/dsgekit"]
[tool.ruff]
target-version = "py313"
line-length = 88
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.isort]
known-first-party = ["dsgekit"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
[tool.mypy]
python_version = "3.13"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.coverage.run]
source = ["src/dsgekit"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]