-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (55 loc) · 1.46 KB
/
pyproject.toml
File metadata and controls
63 lines (55 loc) · 1.46 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "nerfprobe-core"
version = "0.2.1"
description = "Shared probe and scorer implementations for LLM degradation detection"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.11"
keywords = ["llm", "testing", "probes", "quantization", "degradation"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"pydantic>=2.0.0",
"pyyaml>=6.0.0",
"jsonschema>=4.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"ruff>=0.8.0",
"mypy>=1.14.0",
"types-pyyaml>=6.0.12.20250915",
"types-jsonschema>=4.25.1.20251009",
]
[tool.hatch.build.targets.wheel]
packages = ["src/nerfprobe_core"]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "C4", "UP"]
ignore = ["E501"] # Allow long lines in prompts and test strings
[tool.mypy]
python_version = "3.11"
strict = true
exclude = ["tests/"]
[[tool.mypy.overrides]]
module = "tests.*"
ignore_errors = true
[dependency-groups]
dev = [
"black>=25.12.0",
"mypy>=1.19.1",
"ruff>=0.14.10",
"types-jsonschema>=4.25.1.20251009",
]