-
Notifications
You must be signed in to change notification settings - Fork 32
/
pyproject.toml
58 lines (49 loc) · 1.35 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
[tool.poetry]
name = "gym-anm"
version = "0.0.0" # placeholder, will be replaced by git tag
description = "A framework to build Reinforcement Learning environments for Active Network Management tasks in electricity networks."
authors = [
"Robin Henry <[email protected]>",
]
license = "MIT"
readme = "README.md"
documentation = "https://gym-anm.readthedocs.io/en/latest/"
repository = "https://github.com/robinhenry/gym-anm"
packages = [
{ include = "gym_anm" },
]
exclude = ["tests", "tests.*"]
[tool.poetry.dependencies]
python = "^3.10"
numpy = "^2.1"
pandas = "^2.0"
cvxpy = "^1.2.2"
gymnasium = "^1.0.0"
websocket-client = "0.56.0"
websocket-server = "0.4"
requests = "^2.28.1"
[tool.poetry.group.dev.dependencies]
black = "^22.8.0"
mypy = "^0.981"
pytest = "^7.1.3"
pytest-cov = "^3.0.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx_rtd_theme = "^3.0"
# This block will ensure that the version number is automatically detected from the git tag
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "pep440"
pattern = "^v?(?P<base>\\d+(\\.\\d+)*)"
bump = true
[build-system]
requires = ["poetry-core>=1.3.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.black]
line-length = 120
[tool.mypy]
files = ["gym_anm/**/*.py"]
[tool.coverage.run]
source = ["gym_anm"]