-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
84 lines (71 loc) · 1.98 KB
/
pyproject.toml
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "probabilistic-reconciliation"
description = "Probabilistic reconciliation of time series forecasts"
authors = [{name = "Simon Dirmeier", email = "[email protected]"}]
readme = "README.md"
license = {file = "LICENSE"}
keywords = ["probabilistic reconciliation", "forecasting", "timeseries", "hierarchical time series"]
classifiers= [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.11"
dependencies = [
"blackjax>=1.2.4",
"chex>=0.1.8",
"einops>=0.8.0",
"flax>=0.10.2",
"jax>=0.4.38",
"optax>=0.2.4",
"pandas>=1.5.1",
"ramsey>=0.2.1",
"tfp-nightly[jax]>=0.26.0.dev20241227",
]
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/dirmeier/reconcile"
[tool.hatch.version]
path = "reconcile/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["reconcile"]
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"./gitignore",
"/.pre-commit-config.yaml"
]
[tool.hatch.envs.test]
dependencies = [
"ruff>=0.3.0",
"pytest>=7.2.0",
"pytest-cov>=4.0.0",
"statsmodels>=0.13.2"
]
[tool.hatch.envs.examples]
dependencies = [
"statsmodels>=0.13.2"
]
[tool.hatch.envs.test.scripts]
lint = 'ruff check reconcile examples'
test = 'pytest -v --doctest-modules --cov=./reconcile --cov-report=xml reconcile'
[tool.hatch.envs.examples.scripts]
reconciliation = 'python examples/reconciliation.py'
[tool.bandit]
skips = ["B101"]
[tool.ruff]
fix = true
line-length = 80
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"]
extend-select = ["UP", "I", "PL", "S"]
ignore =["S101", "PLR2004", "PLR0913", "E2"]
[tool.ruff.lint.pydocstyle]
convention= 'google'