-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (83 loc) · 2.62 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (83 loc) · 2.62 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
[project]
name = "quorum-cli"
dynamic = ["version"]
description = "Multi-agent AI discussion system for structured debates"
readme = "README.md"
license = {text = "BSL-1.1"}
authors = [
{name = "Detrol", email = "andreas.thun@gmail.com"}
]
keywords = ["ai", "multi-agent", "discussion", "llm", "debate", "brainstorm", "deliberation", "consensus"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
requires-python = ">=3.11"
dependencies = [
"openai>=1.0,<2.0",
"anthropic>=0.40,<1.0",
"google-genai>=1.0,<2.0",
"python-dotenv>=1.0,<2.0",
"pydantic>=2.0,<3.0",
"pydantic-settings>=2.0,<3.0",
"httpx>=0.24,<1.0",
"mcp>=1.0.0",
]
[project.scripts]
quorum = "quorum.main:main"
quorum-mcp-server = "quorum.mcp:main"
[project.urls]
Homepage = "https://github.com/Detrol/quorum-cli"
Repository = "https://github.com/Detrol/quorum-cli"
Issues = "https://github.com/Detrol/quorum-cli/issues"
[project.optional-dependencies]
test = [
"pytest>=8.0,<9.0",
"pytest-asyncio>=0.24,<1.0",
"pytest-timeout>=2.0,<3.0",
"pytest-cov>=5.0,<6.0",
"pytest-ruff>=0.4.0,<1.0",
"ruff>=0.1.0,<1.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/quorum/constants.py"
[tool.hatch.build.targets.wheel]
packages = ["src/quorum"]
[tool.hatch.build.targets.wheel.force-include]
"frontend/dist" = "quorum/_frontend"
".env.example" = "quorum/.env.example"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests", "src"]
pythonpath = ["src"]
# Skip live tests by default - they require API credits
# Run live tests explicitly with: pytest -m live
# --ruff enables linting as part of test run
addopts = "-m 'not live' --ruff"
markers = [
"live: marks tests as requiring live API keys (run with '-m live')",
"timeout: set test timeout in seconds",
]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]
ignore = ["E501"] # Line length handled separately
[tool.ruff.lint.per-file-ignores]
# Tests: allow common patterns
"tests/*.py" = [
"E402", # Module level import not at top (pytestmark before imports)
"E741", # Ambiguous variable name (common in list comprehensions)
"F841", # Unused variable (common in mock patches)
]