-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (92 loc) · 2.45 KB
/
pyproject.toml
File metadata and controls
104 lines (92 loc) · 2.45 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
95
96
97
98
99
100
101
102
103
104
[project]
name = "pytest-agents"
version = "1.0.16"
description = "Pytest plugin framework with AI agent capabilities for multi-agent testing"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{name = "Kevin McAllorum", email = "kmcallorum@example.com"}
]
keywords = ["pytest", "testing", "ai", "agents", "multi-agent", "typescript"]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: Pytest",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Testing",
]
dependencies = [
"pytest>=8.0.0",
"typing-extensions>=4.9.0",
"dependency-injector>=4.41.0",
"prometheus-client>=0.19.0",
]
[project.optional-dependencies]
dev = [
"pytest-cov>=4.1.0",
"pytest-benchmark>=4.0.0",
"ruff>=0.1.0",
"mypy>=1.8.0",
]
[project.entry-points.pytest11]
pytest_agents = "pytest_agents.plugin"
[project.scripts]
pytest-agents = "pytest_agents.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--strict-markers",
"--verbose",
"--cov=src/pytest_agents",
"--cov-report=term-missing",
"--cov-report=html",
]
markers = [
"unit: Unit tests",
"integration: Integration tests",
"performance: Performance benchmark tests",
"agent_pm: Tests requiring PM agent",
"agent_research: Tests requiring Research agent",
"agent_index: Tests requiring Index agent",
"requires_llm: Tests requiring LLM access",
"slow: Slow running tests",
]
[tool.coverage.run]
source = ["src/pytest_agents"]
omit = [
"*/tests/*",
"*/__pycache__/*",
"*/interfaces/*", # Protocol definitions - not executable
"*/__init__.py", # Import-only files
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]
ignore = []
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true