-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
79 lines (68 loc) · 1.52 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
[project]
name = "ai-traineree"
version = "0.8.0"
description = "Yet another zoo of (Deep) Reinforcement Learning methods in Python using PyTorch"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"numpy>=2.0",
"torch>=2.0",
"jsons>=1.4",
"gymnasium==1.0.0",
"matplotlib>=3.7.5",
]
[build-system]
requires = ["uv>=0.4.9", "hatchling"]
build-backend = "hatchling.build"
[tool.uv]
dev-dependencies = [
"mock",
"pytest>=6.2.5",
"pytest-cov>=6.0.0",
"pytest-mock",
"pytest-timeout",
"gymnasium[box2d]==1.0.0", # remember about Swig
"swig",
]
[project.optional-dependencies]
plot = ["matplotlib"]
tensorboard = ["tensorboard"]
neptune = ["neptune-client", "psutil"]
gymnasium = ["gymnasium[all]==1.0.0"]
# mlagents = ["mlagents"]
# pettingzoo = ["pettingzoo[other]==1.11.0"]
examples = [
"matplotlib",
"tensorboard",
"gymnasium==1.0.0",
]
doc = [
"sphinx",
"sphinx-rtd-theme",
]
[tool.ruff]
line-length = 120
[tool.isort]
line_length = 120
profile = "black"
[tool.black]
line-length = 120
[tool.hatch.build.targets.wheel]
packages = ["aitraineree"]
[tool.pytest.ini_options]
addopts = "--verbose --cov=aitraineree --timeout=30"
testpaths = ["aitraineree", "tests"]
[tool.coverage.run]
omit = ["*/test_*.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == '__main__':",
"@abstract"
]