-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (55 loc) · 1.55 KB
/
pyproject.toml
File metadata and controls
67 lines (55 loc) · 1.55 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
[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"
[project]
name = "loadshift"
description = "Optimize load shifting based on known prices and a given flexibility level"
authors = [{name = "Johan Westö", email = "johan.westo@gmail.com"}, {name = "Hafiz Muhammad Ahmad Imam", email = "ahmadimam657@gmail.com"}]
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.12"
dynamic = ["version"]
dependencies = [
"cffi>=2.0.0",
"mip>=1.14.0",
"numpy>=2.3.5",
"pandas>=2.3.3",
"tqdm>=4.67.1",
]
[project.optional-dependencies]
gurobi = [
"gurobipy>=13.0.0"
]
[project.urls]
Homepage = "https://github.com/NoviaIntSysGroup/load-shift-optimizer"
Repository = "https://github.com/NoviaIntSysGroup/load-shift-optimizer"
[tool.uv]
default-groups = ["dev"]
[dependency-groups]
dev = [
"ipykernel>=7.1.0",
"mpl-panel-builder>=0.6.1",
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"ruff>=0.14.9",
]
[tool.ruff]
line-length = 88
target-version = "py312"
fix = true
[tool.ruff.lint]
select = ["E", "F", "I", "RUF", "B", "N", "UP", "C4", "T20", "A", "ANN001", "ANN201", "ANN202"]
[tool.ruff.lint.per-file-ignores]
"assets/*.py" = ["T201"] # Allow print statements in CLI utility scripts
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=loadshift"
pythonpath = ["src"]
[tool.hatch.version]
source = "uv-dynamic-versioning"
[tool.hatch.build.targets.wheel]
packages = ["src/loadshift"]
[tool.uv-dynamic-versioning]
fallback-version = "0.0.0"
style = "semver"
strict = true