-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
68 lines (54 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
[tool.poetry]
name = "velora"
version = "0.1.0"
description = "A Reinforcement Learning (RL) framework for experimentation and learning RL concepts."
authors = ["Ryan Partridge <[email protected]>"]
license = "MIT License"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.12"
pydantic = "^2.9"
gymnasium = { extras = ["all"], version = "^1.0.0" }
wandb = "^0.18.5"
torch = { version = "^2.5.1", source = "pytorch" }
torchvision = { version = "^0.20.0", source = "pytorch" }
pydantic-settings = "^2.6.0"
pyyaml = "^6.0.2"
seaborn = "^0.13.2"
types-pyyaml = "^6.0.12.20240917"
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.6.1"
mkdocs-material = "^9.5.42"
[tool.poetry.group.notebook.dependencies]
notebook = "^7.2.2"
ipywidgets = "^8.1.5"
[tool.poetry.group.testing.dependencies]
pytest = "^8.3.3"
pytest-cov = "^6.0.0"
mypy = "^1.13.0"
flake8 = "^7.1.1"
black = "^24.10.0"
isort = "^5.13.2"
flake8-bugbear = "^24.10.31"
flake8-docstrings = "^1.7.0"
[[tool.poetry.source]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cu121"
priority = "explicit"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "--cov-report term-missing --cov=velora tests/"
filterwarnings = ["ignore::UserWarning"]
[tool.mypy]
python_version = "3.12"
ignore_missing_imports = true
strict = true
cache_fine_grained = true
plugins = ["numpy.typing.mypy_plugin", "pydantic.mypy"]
[tool.isort]
profile = "black"
[tool.black]
line-length = 88
target-version = ["py312"]