-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
92 lines (84 loc) · 2.36 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
py-modules = []
[project]
name = "monee"
version = "0.2.0"
authors = [
{ name="Rico Schrage", email="rico.schrage@uol.de" },
]
description = "Framework for calculating the steady-state energy flow and for solving optimization problems in coupled energy grids (gas, heat, electricity)"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
license = {file="LICENSE"}
dependencies = [
"scipy>=1.10.1",
"gekko>=1.0.6",
"networkx>=3.0",
"numpy>=1.26.4",
"pandas>=1.5.3"
]
[project.optional-dependencies]
simbench = [
"simbench>=1.3.0",
"pandapower>=2.9.0"
]
test = [
"pytest",
"pytest-cov",
"pre-commit",
]
testpp = [
"pytest",
"peext",
"simbench",
"pandapower==2.9.0",
"pandapipes==0.6.0",
"numpy==1.26.4",
"pytest-cov",
"pre-commit",
"pandas==1.5.3"
]
[project.urls]
Homepage = "https://monee.readthedocs.io"
Repository = "https://monee.readthedocs.io"
Issues = "https://github.com/Digitalized-Energy-Systems/monee/issues"
[tool.pytest.ini_options]
markers = [
"pptest: marks tests as dependant on pandapower",
]
[tool.coverage.run]
omit = ["tests/*"]
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = ["E", "F", "G", "I", "UP", "AIR", "PIE", "PLR1714", "PLW2901", "TRY201"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"I001", # allow unsorted imports in __init__.py
"F401", # allow unused imports in __init__.py
]
"examples/*" = [
"ARG", # allow unused arguments
"F841", # allow unused local variables
]
"tests/*" = [
"ARG", # allow unused arguments for pytest fixtures
"E741", # allow reused variables
"F841", # allow unused local variables
]