-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (95 loc) · 2.23 KB
/
Copy pathpyproject.toml
File metadata and controls
107 lines (95 loc) · 2.23 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
[project]
name = "dynaris"
version = "0.1.2"
description = "A JAX-powered Python library for Dynamic Linear Models (DLMs)"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.12"
authors = [
{ name = "quantsci" },
]
keywords = ["jax", "kalman-filter", "dlm", "state-space", "time-series", "bayesian"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Mathematics",
"Typing :: Typed",
]
dependencies = [
"jax>=0.4.35",
"jaxlib>=0.4.35",
"matplotlib>=3.8",
"numpy>=1.26",
"pandas>=2.2",
"scipy>=1.12",
]
[project.optional-dependencies]
bayesian = [
"numpyro>=0.15",
"arviz>=0.18",
]
[project.urls]
Homepage = "https://github.com/quant-sci/dynaris"
Repository = "https://github.com/quant-sci/dynaris"
Issues = "https://github.com/quant-sci/dynaris/issues"
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-cov>=6.0",
"ruff>=0.9",
"mypy>=1.14",
"pandas-stubs>=3.0.0.260204",
"sphinx>=9.1.0",
"sphinx-copybutton>=0.5",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/dynaris"]
[tool.ruff]
target-version = "py312"
line-length = 100
src = ["src"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"RUF", # ruff-specific rules
]
[tool.ruff.lint.isort]
known-first-party = ["dynaris"]
[tool.mypy]
python_version = "3.12"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
mypy_path = "src"
[[tool.mypy.overrides]]
module = [
"jax.*",
"jaxlib.*",
"matplotlib.*",
"pandas",
"pandas.*",
"scipy.*",
"numpyro.*",
"arviz.*",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "dynaris.plotting.*"
ignore_errors = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"