-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (51 loc) · 1.23 KB
/
Copy pathpyproject.toml
File metadata and controls
60 lines (51 loc) · 1.23 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
[project]
name = "brainblock"
version = "0.1.0"
description = "CS 445/545 BrainBlock packing environment and PyTorch DQN pipeline"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"gymnasium>=1.0.0",
"imageio>=2.35.0",
"matplotlib>=3.9.0",
"numpy>=2.0.0",
"pandas>=2.2.0",
"pillow>=10.4.0",
"pyyaml>=6.0.2",
"torch>=2.4.0",
]
[tool.uv.sources]
torch = [
{ index = "pytorch-cpu", marker = "sys_platform == 'linux'" },
]
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[project.optional-dependencies]
dev = [
"basedpyright>=1.31.0",
"ruff>=0.6.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["brainblock"]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["brainblock"]
[tool.basedpyright]
include = ["brainblock", "scripts"]
exclude = [".venv", "results"]
pythonVersion = "3.11"
typeCheckingMode = "standard"
reportMissingTypeStubs = false
reportUnknownMemberType = false
reportUnknownVariableType = false
reportUnknownArgumentType = false