-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (75 loc) · 2.16 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (75 loc) · 2.16 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "router-agent"
version = "0.1.0"
description = "Production-ready AI Router Agent built with LangGraph, LangChain and Pydantic."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Router Agent Team" }]
keywords = ["langgraph", "langchain", "router", "agent", "guardrails"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"openai>=1.50.0",
"langchain>=0.3.0",
"langchain-core>=0.3.0",
"langchain-openai>=0.2.0",
"langgraph>=0.2.0",
"langsmith>=0.2.0",
"pydantic>=2.7.0",
"pydantic-settings>=2.3.0",
"PyYAML>=6.0",
"python-dotenv>=1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"ruff>=0.5",
"mypy>=1.10",
"types-PyYAML",
]
[project.scripts]
router-agent = "app:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["agents*", "config*", "graph*", "guardrails*", "models*", "tools*"]
[tool.pytest.ini_options]
minversion = "8.0"
testpaths = ["tests"]
addopts = "-ra --strict-markers --strict-config"
pythonpath = ["."]
asyncio_mode = "auto"
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.ruff]
line-length = 100
target-version = "py310"
src = ["agents", "config", "graph", "guardrails", "models", "tools", "tests"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "N", "C4", "SIM", "RUF"]
ignore = ["E501", "B008", "RUF012"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["N802", "N803", "SIM117"]
[tool.mypy]
python_version = "3.10"
strict = false
warn_unused_ignores = true
warn_redundant_casts = true
disallow_incomplete_defs = true
no_implicit_optional = true
ignore_missing_imports = true
exclude = ["tests/", "build/", "dist/"]