Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (75 loc) · 2.07 KB
/
Copy pathpyproject.toml
File metadata and controls
85 lines (75 loc) · 2.07 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "context-compiler-directive-drafter"
version = "0.2.0"
description = "Draft candidate Context Compiler directives from natural-language input."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "Apache-2.0" }
authors = [{ name = "Robert Lippmann" }]
dependencies = [
"context-compiler>=0.9.1,<0.10.0",
]
keywords = [
"llm",
"directive-drafting",
"context-compiler",
"ai-infrastructure",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[project.optional-dependencies]
openai = ["openai>=1.0,<2.0"]
litellm = ["litellm>=1.0,<2.0"]
[project.urls]
Homepage = "https://github.com/rlippmann/context-compiler-directive-drafter"
Repository = "https://github.com/rlippmann/context-compiler-directive-drafter"
Issues = "https://github.com/rlippmann/context-compiler-directive-drafter/issues"
[dependency-groups]
dev = [
"coverage",
"hypothesis",
"mypy>=1.12,<2.0",
"pre-commit",
"pytest",
"pytest-cov",
"ruff>=0.12,<1.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/context_compiler_directive_drafter"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.mypy]
python_version = "3.11"
strict = true
exclude = ["^tests/"]
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
no_implicit_optional = true
warn_return_any = true
warn_unused_ignores = true
ignore_missing_imports = false
mypy_path = "src"
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = ["tests"]
markers = [
"contract: curated stable user-facing behavior contract tests",
]
[tool.coverage.run]
source = ["context_compiler_directive_drafter"]
omit = ["tests/*", "examples/*"]