-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (83 loc) · 2.28 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (83 loc) · 2.28 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
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
name = "langchain-context"
version = "0.1.0"
description = "LangChain tools for Context.dev web data, brand intelligence, monitors, and batches"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10,<4.0"
authors = [{ name = "Context.dev", email = "support@context.dev" }]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"httpx>=0.28,<1",
"langchain-core>=1.4,<2",
"pydantic>=2.10,<3",
]
[project.urls]
Homepage = "https://www.context.dev"
Documentation = "https://docs.context.dev"
Repository = "https://github.com/context-dot-dev/langchain-context"
Issues = "https://github.com/context-dot-dev/langchain-context/issues"
[dependency-groups]
test = [
"langchain-tests>=1.1.9,<2",
"pytest>=8.4,<10",
"pytest-asyncio>=1.2,<2",
"pytest-cov>=7,<8",
"pytest-socket>=0.7,<1",
]
lint = [
"mypy>=1.18,<2",
"ruff>=0.13,<1",
]
dev = [
"build>=1.3,<2",
"twine>=7,<8",
]
[tool.hatch.build.targets.wheel]
packages = ["src/langchain_context"]
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/tests",
"/LICENSE",
"/README.md",
"/pyproject.toml",
]
[tool.pytest.ini_options]
addopts = "--strict-markers --strict-config"
asyncio_mode = "auto"
markers = [
"live: calls the live Context API and consumes credits",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["A", "ASYNC", "B", "C4", "D", "E", "F", "FA", "I", "ISC", "N", "PERF", "PIE", "RET", "RUF", "S", "SIM", "T20", "UP", "W"]
ignore = ["D100", "D104", "D107", "ISC001"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["D", "S101"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
strict = true
packages = ["langchain_context"]
[tool.coverage.run]
branch = true
source = ["langchain_context"]
[tool.coverage.report]
fail_under = 90
show_missing = true