Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (38 loc) · 1.5 KB
/
Copy pathpyproject.toml
File metadata and controls
48 lines (38 loc) · 1.5 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "vladbench-reproduction"
version = "0.1.0"
description = "Pinned remote VLADBench requests, recorded inference, and explicit scorer provenance"
requires-python = ">=3.10"
dependencies = ["numpy>=1.24", "pillow>=10", "python-dotenv>=1.0"]
[project.scripts]
vladbench = "vladbench.cli:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[dependency-groups]
# Tests, lint, and types. `uv sync` installs this group by default.
dev = ["pytest>=8", "ruff>=0.13", "ty>=0.0.83", "codespell>=2.4", "pyarrow>=17"]
# The build and publish scripts under scripts/.
scripts = ["pyarrow>=17", "matplotlib>=3.9", "huggingface_hub>=0.34"]
[tool.ruff]
line-length = 160
extend-exclude = ["original", "dist", "answers", "results"]
# Apply the excludes to files passed explicitly, as pre-commit does; original/ must stay byte for byte.
force-exclude = true
[tool.ruff.lint]
# Errors that are bugs, not style: pyflakes, bugbear, syntax.
select = ["F", "B", "E9"]
[tool.ty.src]
include = ["src", "tests", "scripts"]
exclude = ["scripts/archive"]
[tool.codespell]
skip = "*.json,*.jsonl,*.parquet,*.js.map,./original,./answers,./results,./dist,./task-review-*.js"
# Upstream task and field names kept byte for byte, and CSS/JS identifiers.
ignore-words-list = "bahavior,obsturction,amercia,geneal,ans,unparseable,pipeine,finall"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]