-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (61 loc) · 1.82 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (61 loc) · 1.82 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "parbench"
version = "0.1.0"
description = "Benchmark suite for evaluating LLM-based parallel code translation"
requires-python = ">=3.12"
dependencies = [
"pydantic>=2.0",
"jsonschema>=4.20",
"libclang>=18.1",
]
[project.optional-dependencies]
eval = [
"anthropic>=0.40.0",
"openai>=1.50.0",
]
analysis = [
"matplotlib>=3.9",
"numpy>=1.26",
"scipy>=1.14",
"scienceplots>=2.2",
]
dev = [
"pytest>=8.0",
"ruff>=0.6.0",
]
all = [
"parbench[eval,analysis,dev]",
]
[tool.ruff]
# line-length feeds `ruff format` only; E501 is deliberately NOT selected
# (decision D8, 2026-08-15): most lines sit under 100 and lighting up long
# lines across untouched files would flood the pre-existing-debt WARN bucket.
line-length = 100
target-version = "py312"
# Benchmark trees are never linted or fixed (CLAUDE.md: never edit benchmark
# source). HeCBench-master and the three *-src trees are already gitignored;
# rodinia is a submodule, so it needs an explicit exclusion.
extend-exclude = [
"rodinia",
"HeCBench-master",
"mixbench",
"xsbench",
"rsbench",
]
[tool.ruff.lint]
# Explicit selection (rule 38 redesign, 2026-08-15): the classic core set plus
# import order, pyupgrade, and bugbear. Pinned explicitly because ruff's
# built-in defaults widened around 0.15 and a version bump silently changed
# which rules health_check's lint gate enforced.
select = ["E4", "E7", "E9", "F", "I", "UP", "B"]
[tool.pytest.ini_options]
markers = [
"integration: requires real benchmark files on disk (GPU machine only)",
"llm: real LLM API calls (gated by PARBENCH_RUN_LLM_TESTS=1; costs ~$5.81 for full smoke set)",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["c_augmentation*", "harness*"]