-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (75 loc) · 2.64 KB
/
pyproject.toml
File metadata and controls
86 lines (75 loc) · 2.64 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "consensusflow"
version = "0.1.0"
description = "Multi-model verification pipeline — Proposer → Auditor → Resolver"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.9"
keywords = ["llm", "verification", "hallucination", "consensus", "litellm", "ai"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Framework :: AsyncIO",
]
dependencies = [
"litellm>=1.40.0",
"python-dotenv>=1.0.0",
"tenacity>=8.2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"ruff>=0.4",
"mypy>=1.10",
]
server = [
"fastapi>=0.104",
"uvicorn[standard]>=0.24",
"aiosqlite>=0.19",
"tiktoken>=0.5",
"httpx>=0.25",
]
[project.scripts]
consensusflow = "consensusflow.cli:main"
[project.urls]
Homepage = "https://omer.github.io/consensusflow"
Repository = "https://github.com/omer/consensusflow"
Documentation = "https://github.com/omer/consensusflow#readme"
"Bug Tracker" = "https://github.com/omer/consensusflow/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["consensusflow*"]
[tool.setuptools.package-data]
"consensusflow.prompts" = ["*.md", "*.txt"]
# ── Ruff (linter) ─────────────────────────────────────────────
[tool.ruff]
line-length = 99
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = ["E501"]
# ── Pytest ─────────────────────────────────────────────────────
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
filterwarnings = [
# Suppress coroutine-not-awaited warnings from asyncio.run mock side-effects
"ignore::RuntimeWarning",
]
# ── Mypy ───────────────────────────────────────────────────────
[tool.mypy]
python_version = "3.9"
strict = false
ignore_missing_imports = true