-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (92 loc) · 3.06 KB
/
Copy pathpyproject.toml
File metadata and controls
103 lines (92 loc) · 3.06 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
[project]
name = "llm-context"
version = "0.6.2"
description = "Share code with LLMs via Model Context Protocol or clipboard. Rule-based customization enables easy switching between different tasks (like code review and documentation). Code outlining support is included as a standard feature."
authors = [
{ name = "restlessronin", email = "88921269+restlessronin@users.noreply.github.com" },
]
readme = "README.md"
requires-python = ">=3.12"
license = "Apache-2.0"
keywords = ["llm", "ai", "context", "code", "clipboard", "chat"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Code Generators",
"Topic :: Utilities",
"Topic :: Communications :: Chat",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"jinja2>=3.1.6, <4.0",
"mcp>=1.28.0",
"packaging>=26.0, <27.0",
"pathspec>=1.0.4",
"pyperclip>=1.11.0, <2.0.0",
"pyyaml>=6.0.3",
"tree-sitter>=0.25.2",
# Capped below 1.8: 1.8.x swapped get_parser() to its own native Parser
# (parse() wants str, not bytes) and 1.9.x swapped Language/Node too, both
# incompatible with our py-tree-sitter usage (Query/QueryCursor, parse(bytes)).
"tree-sitter-language-pack>=0.13.0, <1.8",
# Indirect dependencies (security constraints)
"cryptography>=48.0.1",
"idna>=3.15",
"Pygments>=2.20.0",
"PyJWT>=2.13.0",
"python-dotenv>=1.2.2",
"python-multipart>=0.0.31",
"starlette>=1.3.1",
]
[project.urls]
Repository = "https://github.com/cyberchitta/llm-context.py"
"User Guide" = "https://github.com/cyberchitta/llm-context.py/blob/main/docs/user-guide.md"
Changelog = "https://github.com/cyberchitta/llm-context.py/blob/main/CHANGELOG.md"
[project.scripts]
lc-context = "llm_context.cli:context"
lc-changed = "llm_context.cli:changed_files"
lc-init = "llm_context.cli:init_project"
lc-missing = "llm_context.cli:missing"
lc-mcp = "llm_context.mcp:run_server"
lc-outlines = "llm_context.cli:outlines"
lc-preview = "llm_context.cli:preview"
lc-prompt = "llm_context.cli:prompt"
lc-rule-instructions = "llm_context.cli:rule_instructions"
lc-select = "llm_context.cli:select"
lc-set-rule = "llm_context.cli:set_rule"
lc-version = "llm_context.cli:version"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
filterwarnings = ["ignore::FutureWarning"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.ruff]
line-length = 100
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = ["E203", "E266", "E501", "F403", "F401"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"git-cliff>=2.12.0, <3.0",
"isort>=7.0.0, <8.0",
"mypy>=1.19.1, <2.0",
"pytest>=9.0.3, <10.0",
"types-pyyaml>=6.0.12.20241230",
"ruff>=0.14.14, <1.0",
"taplo>=0.9.3, <1.0",
]
[tool.hatch.build]
include = ["src/**"]
[tool.hatch.build.targets.wheel]
sources = ["src"]