-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (71 loc) · 2.15 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (71 loc) · 2.15 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
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "threadlang"
version = "0.14.0"
description = "A compact DSL and single-node runtime for bounded, traceable LLM and agent workflows"
readme = "README.md"
requires-python = ">=3.11"
authors = [{ name = "ThreadLang Contributors" }]
license = "MIT"
license-files = ["LICENSE"]
keywords = ["agent", "dsl", "llm", "orchestration", "workflow"]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = []
[project.urls]
Homepage = "https://github.com/minglong51/threadlang"
Repository = "https://github.com/minglong51/threadlang"
Issues = "https://github.com/minglong51/threadlang/issues"
[project.optional-dependencies]
anthropic = ["anthropic>=0.40,<1.0"]
dev = [
"bandit>=1.8,<2",
"build>=1.2,<2",
"mypy>=1.11,<2",
"pip-audit>=2.9,<3",
"pytest>=9.0.3,<10",
"ruff>=0.9,<1",
"twine>=6,<7",
]
[project.scripts]
threadlang = "threadlang.cli:main"
threadlang-serve = "threadlang.server:main"
support-triage = "threadlang.apps.support_triage.app:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
threadlang = ["py.typed"]
"threadlang.apps.support_triage" = ["*.thread"]
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py311"
exclude = [".venv", "build", "dist", "docs", "README.md"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["E402", "I001"]
[tool.mypy]
python_version = "3.11"
files = ["src/threadlang"]
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = false
warn_unused_configs = true
[[tool.mypy.overrides]]
module = ["threadlang.llm"]
# Provider SDKs and OpenAI-compatible JSON intentionally cross dynamic
# boundaries. Their outputs are validated at runtime and covered by adapter
# tests; the rest of the package remains type-checked.
ignore_errors = true