-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (69 loc) · 1.58 KB
/
pyproject.toml
File metadata and controls
79 lines (69 loc) · 1.58 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
[project]
name = "intent-spec"
version = "0.1.0"
description = "Language-agnostic Intent-Behavioral Testing framework"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [
{ name = "Matthew Long", email = "matthew@yonedaai.com" }
]
keywords = ["testing", "intent", "behavioral", "llm", "semantic"]
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 = [
"pydantic>=2.0",
"pyyaml>=6.0",
"click>=8.0",
"rich>=13.0",
"pytest>=8.0",
]
[project.optional-dependencies]
semantic = [
"sentence-transformers>=2.2.0",
"numpy>=1.24.0",
]
llm = [
"openai>=1.0.0",
"anthropic>=0.20.0",
]
server = [
"fastapi>=0.100.0",
"uvicorn>=0.20.0",
]
all = [
"intent-spec[semantic,llm,server]",
]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.21.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
]
[project.entry-points."pytest11"]
intent_spec = "intent_spec.plugin"
[project.scripts]
intent-spec = "intent_spec.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/intent_spec"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
[tool.mypy]
python_version = "3.11"
strict = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]