-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (88 loc) · 1.79 KB
/
pyproject.toml
File metadata and controls
94 lines (88 loc) · 1.79 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
[build-system]
requires = ["setuptools>=42", "wheel", "cython", "numpy"]
build-backend = "setuptools.build_meta"
[project]
name = "algotune"
version = "0.1.0"
description = "A benchmark for testing programming abilities of language models"
requires-python = ">=3.10"
dependencies = [
"numpy",
"pandas",
"cython",
"numba",
"dask",
"pulp",
"scipy",
"ortools<9.12.0",
"pyomo",
"highspy",
"networkx",
"python-sat",
"jax",
"diffrax",
"sympy",
"faiss-cpu",
"cryptography",
"scikit-learn",
"hdbscan",
"cvxpy",
"torch",
"pot",
"ecos",
"litellm",
"google-generativeai",
"pylint",
"line_profiler",
"toml",
"orjson",
"pyaml",
"pillow",
"pythran",
"dace==0.16.1",
"psutil==5.9.8",
"huggingface_hub"
]
[tool.setuptools.packages.find]
where = ["."] # Look for packages in the current directory
exclude = [ # Exclude directories that are not packages
"tests*",
"singularity*",
"keys*",
"logs*",
"messages*",
".git*",
]
include = ["*"] # Include all found packages unless excluded
[project.optional-dependencies]
dev = [
"pre-commit",
"ruff>=0.3.0"
]
[tool.ruff]
# Exclude the test scripts directory from ruff checks
exclude = [
".git",
".github/scripts/",
"__pycache__",
"results",
"AlgoTuner/",
"scripts/",
"html/",
"aws/",
"reports/",
"singularity/",
"algotune.py"
]
# Default ruff settings
line-length = 100
target-version = "py310"
[tool.ruff.lint]
# Only check critical errors: syntax errors (E9), undefined names (F82), and unused imports (F401)
select = ["E9", "F82", "F401"]
ignore = []
[tool.ruff.lint.isort]
combine-as-imports = true
extra-standard-library = ["typing_extensions"]
lines-after-imports = 2
order-by-type = false