forked from budzianowski/opengvl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
120 lines (110 loc) · 2.37 KB
/
pyproject.toml
File metadata and controls
120 lines (110 loc) · 2.37 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[project]
name = "gvl"
version = "0.1.0"
description = "Open source implementation of Generative Value Learning"
readme = "README.md"
authors = [
{ name = "Paweł Budzianowski", email = "budzianowski@gmail.com" },
]
license = { file = "LICENSE" }
requires-python = ">=3.11"
dependencies = [
"accelerate>=1.8.1",
"datasets>=2.19.0",
"dotenv>=0.9.9",
"google-genai>=1.24.0",
"google-generativeai>=0.8.5",
"ipykernel>=6.30.1",
"isort>=6.0.1",
"loguru>=0.7.3",
"marimo>=0.14.10",
"openai>=1.93.0",
"lerobot",
"pyright>=1.1.405",
"pytest>=8.4.1",
"ruff>=0.12.2",
"scipy>=1.16.0",
"tensorflow>=2.19.0",
"tensorflow-datasets>=4.9.9",
"tfds>=0.3",
"torch>=2.7.1",
"torchvision>=0.22.1",
"transformers>=4.53.0",
"tiktoken>=0.11.0",
"blobfile>=3.1.0",
"seaborn>=0.13.2",
"omegaconf>=2.3.0",
"hydra-core>=1.3.2",
"pylint>=3.3.8",
"qwen-vl-utils>=0.0.14",
"tf-keras>=2.20.1",
]
[project.optional-dependencies]
closed = [
"openai>=1.93.0",
"google-genai>=1.22.0",
]
[dependency-groups]
dev = [
"black>=24.10.0",
"pytest>=8.4.1",
"ruff>=0.12.2",
]
[tool.ruff]
target-version = "py311"
line-length = 160
fix = true
[tool.ruff.lint]
select = [
# flake8-2020
"YTT",
# flake8-bandit
"S",
# flake8-bugbear
"B",
# flake8-builtins
"A",
# flake8-comprehensions
"C4",
# flake8-debugger
"T10",
# flake8-simplify
"SIM",
# isort
"I",
# mccabe
"C90",
# pycodestyle
"E", "W",
# pyflakes
"F",
# pygrep-hooks
"PGH",
# pyupgrade
"UP",
# ruff
"RUF",
# tryceratops
"TRY",
]
ignore = [
# Long exception messages outside class definitions
"TRY003",
"TRY300",
# Abstract `raise` to an inner functionRuff
"TRY301",
# Don't force wrapping single raise statements into helper functions
# Allow broad exception catching in tests / integration scaffolding if present
"TRY002",
"C901",
"S112",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101", "S603"]
"notebooks/*.ipynb" = ["F"] # Ignore pyflakes typing/name checks inside notebooks
[tool.ruff.lint.isort]
required-imports = []
[tool.black]
line-length = 160
[tool.uv.sources]
lerobot = { git = "https://github.com/huggingface/lerobot.git", rev = "main#a0d7627d81c57f9ca826029e581deca313e0d548" }