-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
47 lines (40 loc) · 1.07 KB
/
Copy pathpyproject.toml
File metadata and controls
47 lines (40 loc) · 1.07 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
[project]
name = "perf-optimize"
version = "0.1.0"
description = "RL environment for teaching LLMs to write performant code using hardware performance counters"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"structlog>=24.4.0",
"verifiers>=0.1.2",
"datasets>=3.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24",
"ruff>=0.8",
"numpy>=2.0",
"scipy>=1.14",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/perf_optimize"]
[tool.hatch.build.targets.wheel.force-include]
"problems" = "perf_optimize/problems"
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
markers = [
"variance: slow variance validation tests (deselect with '-m \"not variance\"')",
"integration: requires bwrap + gcc + perf",
]
addopts = "-m 'not variance and not integration'"
[tool.ruff]
target-version = "py313"
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "TCH", "RUF"]