-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (90 loc) · 2.63 KB
/
Copy pathpyproject.toml
File metadata and controls
103 lines (90 loc) · 2.63 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "langchain-tenki"
dynamic = ["version"]
description = "Tenki sandbox integration for Deep Agents"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.11,<4.0"
authors = [{ name = "Luxor Labs" }]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"deepagents>=0.6.8,<0.7.0",
"tenki-sandbox>=0.1.1",
]
[project.urls]
Homepage = "https://github.com/luxorlabs/langchain-tenki"
Repository = "https://github.com/luxorlabs/langchain-tenki"
Documentation = "https://github.com/luxorlabs/langchain-tenki"
Issues = "https://github.com/luxorlabs/langchain-tenki/issues"
[project.optional-dependencies]
test = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
]
lint = [
"ruff>=0.10.0",
]
typing = [
"mypy>=1.10.0",
]
[tool.hatch.version]
path = "langchain_tenki/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["langchain_tenki"]
[tool.hatch.build.targets.sdist]
include = [
"/langchain_tenki",
"/tests",
"/README.md",
"/LICENSE",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.ruff]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"COM812", # conflicts with the formatter
"D203", # incompatible with D211
"D213", # incompatible with D212
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = [
"S101", # asserts are expected in tests
"SLF001", # tests may touch private members
"PLR2004", # magic values are fine in test assertions
"ANN", # type annotations are noise in tests
"D", # docstring rules relaxed for tests
"INP001", # test dirs are not packages
"S108", # /tmp paths are expected inside an ephemeral sandbox
"S603", # subprocess call to a trusted, fixed shell in the local fake
"S607", # launching `bash` by name is intentional in the local fake
"ERA001", # section-divider comments are not commented-out code
"TC003", # keep typing imports at runtime for readability in tests
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
python_version = "3.11"
strict = true
warn_unused_ignores = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
disallow_incomplete_defs = false