-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (74 loc) · 2.03 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (74 loc) · 2.03 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ragproof"
dynamic = ["version"]
description = "Test harness for RAG pipelines: retrieval, groundedness, citation and injection-resistance scoring with a CI quality gate"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "Sangeeth Thilakarathna", email = "sangeethfx@icloud.com" }]
keywords = ["rag", "evaluation", "llm", "testing", "ci"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Testing",
]
dependencies = [
"typer>=0.12",
"rich>=13.7",
"pydantic>=2.7",
"pyyaml>=6.0",
"sqlalchemy[asyncio]>=2.0.30",
"aiosqlite>=0.20",
"httpx>=0.27",
"tenacity>=8.3",
"jinja2>=3.1",
"jsonpath-ng>=1.6",
]
[project.optional-dependencies]
ingest = ["pypdf>=4.2", "python-docx>=1.1"]
ui = ["fastapi>=0.111", "uvicorn>=0.30"]
dev = [
"pytest>=8.2",
"pytest-asyncio>=0.23",
"coverage[toml]>=7.5",
"ruff>=0.5",
"mypy>=1.10",
"types-pyyaml",
]
[project.urls]
Homepage = "https://github.com/sanmaxdev/ragproof"
[project.scripts]
ragproof = "ragproof.cli:app"
[tool.hatch.version]
path = "ragproof/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["ragproof"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
[tool.ruff.lint.per-file-ignores]
"ragproof/cli.py" = ["B008"]
[tool.mypy]
python_version = "3.11"
strict = true
packages = ["ragproof"]
[[tool.mypy.overrides]]
module = "jsonpath_ng.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
[tool.coverage.run]
source = ["ragproof"]
[tool.coverage.report]
show_missing = true