-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (92 loc) · 1.82 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (92 loc) · 1.82 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
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "lmp-forecaster"
version = "0.1.0"
description = "Local-first probabilistic forecasting platform for PJM day-ahead zonal LMP"
readme = "README.md"
requires-python = ">=3.12,<3.13"
authors = [{ name = "Rohit" }]
license = { text = "Proprietary" }
dependencies = [
"torch",
"neuralforecast",
"lightning",
"pandas",
"polars",
"pyarrow",
"numpy",
"scikit-learn",
"optuna",
"mlflow",
"dvc",
"httpx",
"pydantic",
"pydantic-settings",
"typer",
"rich",
"python-dotenv",
"holidays",
"matplotlib",
"plotly",
"fastapi",
"uvicorn[standard]",
"streamlit",
"orjson",
"pytest",
"pytest-cov",
"ruff",
"mypy",
"PyYAML",
]
[project.scripts]
lmp-forecaster = "lmp_forecaster.cli:app"
[tool.hatch.build.targets.wheel]
packages = ["src/lmp_forecaster"]
[tool.hatch.build.targets.sdist]
include = [
"src/lmp_forecaster",
"conf",
"scripts",
"tests",
"README.md",
"pyproject.toml",
]
[tool.uv.sources]
torch = { index = "pytorch-cu128" }
[[tool.uv.index]]
name = "pytorch-cu128"
url = "https://download.pytorch.org/whl/cu128"
explicit = true
[tool.uv]
package = true
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "N", "C4"]
ignore = []
[tool.mypy]
python_version = "3.12"
strict = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
exclude = [
"^data/",
]
[[tool.mypy.overrides]]
module = ["yaml"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["pandas"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["neuralforecast", "neuralforecast.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "8.0"
addopts = "-q"
testpaths = ["tests"]
pythonpath = ["src"]