-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
94 lines (85 loc) · 1.37 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
93
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "gosafeopt"
version = "0.1.0"
description = "Bayesion Optimization library focused on contextual GoSafeOpt"
authors = ["Daniel Widmer <[email protected]>"]
packages = [{include = "gosafeopt", from = "src"}]
license = "GNU GPLv3"
readme = "README.md"
[tool.poetry.dependencies]
python = ">3.9" #torch not available for 3.12 as of now
numpy = "^1.26.2"
torch = "^2.1.1"
typer = "^0.9.0"
rich = "^13.7.0"
gpytorch = "^1.11"
botorch = "^0.9.4"
gymnasium = "^0.29.1"
wandb = "^0.16.1"
[tool.poetry.group.examples]
optional = true
[tool.poetry.group.examples.dependencies]
gymnasium = {extras = ["classic-control"], version = "^0.29.1"}
pandas = "^2.1.3"
[tool.poetry.group.develop]
optional = true
[tool.poetry.group.develop.dependencies]
ruff-lsp = "^0.0.45"
pyright = "^1.1.339"
ruff = "^0.1.7"
[tool.ruff]
line-length = 120
select = [
"E4",
"E7",
"E9",
"F",
"B",
"Q",
"E",
"W",
"C90",
"I",
"N",
"D",
"UP",
"YTT",
"ANN",
"S",
"A",
"C4",
"T10",
"G",
"PIE",
"Q",
"RSE",
"SLF",
"SIM",
"TID",
"ARG",
"ERA",
"TRY",
"FLY",
"PERF",
"FURB",
]
exclude = ["D103"]
ignore = [
"E501",
"ANN101",
"ANN201",
"ANN204",
"D100",
"D103",
"D104",
"D202",
"D102",
"D101",
"D107",
"TRY002",
"TRY003",
]
unfixable = ["B"]