This repository has been archived by the owner on Oct 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
130 lines (113 loc) · 2.86 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
name = "fold-models"
version = "0.1.2"
authors = [
{ name="Mark Aron Szulyovszky", email="mark@dreamfaster.ai" },
{ name="Daniel Szemerey", email="daniel@dreamfaster.ai" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
]
dependencies = [
"numpy",
"fold-core~=0.1",
"scikit-learn",
]
description = "Models for fold."
keywords = ["time-series", "machine-learning", "forecasting", "forecast", "nowcast", "models", "time-series-regression", "time-series-classification", "financial-machine-learning"]
license = { file="LICENSE" }
readme = "README.md"
requires-python = ">=3.7"
[project.urls]
Documentation = "https://dream-faster.github.io/fold-models"
Issues = "https://github.com/dream-faster/fold-models/issues"
Source = "https://github.com/dream-faster/fold-models"
[project.optional-dependencies]
quality = [
"black~=22.10.0",
"flake8~=4.0.1",
"isort~=5.10.1",
"pre-commit~=2.20.0",
]
tests = [
"pytest~=7.1.2",
"fold-core~=0.1",
"fold-wrappers~=0.1",
"statsforecast",
"statsmodels",
]
docs = [
"mkdocs-material",
"mkdocstrings-python",
"mkdocs-include-markdown-plugin",
"mkdocs-autorefs"
]
[tool.hatch.envs.quality]
dependencies = [
".[quality]",
]
detached = true
[tool.hatch.envs.quality.scripts]
check = [
"flake8 src tests",
"black --check --diff --preview src tests",
"isort --check-only --diff src tests",
]
format = [
"isort src tests",
"black --preview src tests",
"check",
]
[tool.hatch.envs.test]
dependencies = [".[tests]"]
[tool.hatch.envs.test.scripts]
run = "pytest tests/ --durations 0 -s"
[[tool.hatch.envs.test.matrix]]
python = ["37", "38", "39", "310"]
[tool.isort]
profile = "black"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/docs",
"/.devcontainer",
"/.pre-commit-config.yaml",
"/.gitignore",
"/tests",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.pytest.ini_options]
pythonpath = [
"src"
]
testpaths = ["tests"]
[tool.hatch.build]
sources = ["src"]
# bumpver command: ``bumpver update --patch``
[tool.bumpver]
current_version = "0.1.2"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "chore(Release): Bump version from {old_version} -> {new_version}"
commit = true
tag = true
push = false
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'current_version = "{version}"',
'version = "{version}"'
]
[tool.hatch.version]
path = "src/fold_models/__init__.py"