-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
74 lines (68 loc) · 1.64 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "mesmo"
version = "0.5.0"
description = "Multi-Energy System Modeling and Optimization"
keywords = ["optimal-power-flow", "smart-grid", "multi-energy-systems"]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering"
]
requires-python = ">=3.10"
dependencies = [
# Please note: Dependencies must also be added in `docs/conf.py` to `autodoc_mock_imports`.
"cvxpy",
"cobmo", # Not on package index. Needs to be manually installed from https://github.com/mesmo-dev/cobmo
"dill",
"dynaconf",
"gurobipy",
"kaleido", # For static plot output with plotly.
"matplotlib",
"multimethod",
"networkx",
"natsort",
"numpy",
"opencv-python-headless",
"OpenDSSDirect.py",
"pandas",
"plotly",
"pyyaml",
"ray[default]",
"requests", # For HiGHS installation.
"scipy<1.11", # For CVXPY compatibility.
"tqdm",
]
[project.optional-dependencies]
"tests" = [
"coverage[toml]",
"parameterized",
"pylint",
"pytest",
]
[tool.setuptools]
packages = ["mesmo"]
[tool.coverage.report]
include = [
"mesmo/*",
"examples/*",
]
omit = [
"examples/development/*",
]
[tool.pylint.FORMAT]
max-line-length = 120
[tool.pylint.'MESSAGES CONTROL']
disable = [
"function-redefined",
"logging-fstring-interpolation",
"no-value-for-parameter",
"non-parent-init-called",
"super-init-not-called",
"too-many-function-args",
"too-many-lines",
]