Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (54 loc) · 1.85 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (54 loc) · 1.85 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
[project]
name = "stuntdouble"
version = "2.1.2"
description = "Tool mocking framework for AI agent testing"
requires-python = ">= 3.12"
license = "MIT"
authors = [{ name = "Benjamin Benchaya" }]
readme = "README.md"
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
license-files = ["LICEN[CS]E*"]
dependencies = [
"langchain-core>=1.2.5,<2",
"pydantic>=2.0.0,<3",
"langgraph>=1.0.0,<2",
]
[project.optional-dependencies]
mcp = ["aiohttp>=3.9.0,<4"]
[dependency-groups]
dev = ["pytest>=9.0.0,<10", "pytest-cov>=7.0.0,<8", "pytest-xdist>=3.8.0,<4", "pytest-asyncio>=1.3.0,<2", "mypy>=1.19.0,<2", "ruff>=0.15.0,<1", "langchain-openai>=1.1.0,<2"]
docs = ["sphinx>=9.0.0,<10", "myst-parser>=5.0.0,<6", "sphinx-rtd-theme>=3.0.0,<4", "sphinx-copybutton>=0.5.0,<1"]
[build-system]
requires = ["hatchling>=1.29.0,<2"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/stuntdouble"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = ["E501", "N815"]
[tool.ruff.lint.isort]
known-first-party = ["stuntdouble"]
[project.urls]
Homepage = "https://github.com/intuit/stunt-double"
Documentation = "https://intuit.github.io/stunt-double"
Source = "https://github.com/intuit/stunt-double"
Issues = "https://github.com/intuit/stunt-double/issues"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
# aiohttp is an optional dependency (the `mcp` extra) and is not always present
# in the type-check environment; don't fail the whole check when it's missing.
[[tool.mypy.overrides]]
module = "aiohttp.*"
ignore_missing_imports = true