-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (95 loc) · 2.52 KB
/
pyproject.toml
File metadata and controls
106 lines (95 loc) · 2.52 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
104
105
106
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "patchpal"
dynamic = ["version"]
description = "An agentic coding and automation assistant, supporting both local and cloud LLMs"
readme = "README.md"
authors = [
{ name = "PatchPal Contributors" }
]
license = "Apache-2.0"
license-files = ["LICENSE"]
classifiers = [
"Development Status :: 3 - Alpha",
"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",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
requires-python = ">=3.10"
dependencies = [
"litellm<=1.82.6",
"requests>=2.31.0",
"beautifulsoup4>=4.12.0",
"ddgs>=1.0.0",
"rich>=13.0.0",
"pyyaml>=6.0.0",
"prompt_toolkit>=3.0.0",
"boto3",
"pymupdf>=1.23.0",
"python-docx>=1.0.0",
"python-pptx>=0.6.0",
"tree-sitter-language-pack>=0.3.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"ruff==0.14.13",
"pre-commit>=3.0.0",
]
mcp = [
"mcp>=0.9.0",
]
docs = [
"mkdocs>=1.5.0,<2.0", # Pin to 1.x (Material for MkDocs incompatible with 2.0)
"mkdocs-material>=9.5.0",
"mkdocs-autorefs>=1.0.0",
"mkdocstrings>=0.24.0",
"mkdocstrings-python>=1.7.0",
]
[project.urls]
Homepage = "https://github.com/amaiya/patchpal"
Repository = "https://github.com/amaiya/patchpal"
Issues = "https://github.com/amaiya/patchpal/issues"
[project.scripts]
patchpal = "patchpal.cli.interactive:main"
patchpal-autopilot = "patchpal.cli.autopilot:main"
patchpal-mcp = "patchpal.cli.mcp:main"
patchpal-sandbox = "patchpal.cli.sandbox:main"
[tool.setuptools.packages.find]
include = ["patchpal*"]
[tool.setuptools.dynamic]
version = {attr = "patchpal.__version__"}
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]
ignore = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--strict-markers",
"--tb=short",
]
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.coverage.run]
source = ["patchpal"]
omit = ["tests/*", "*/test_*.py"]
[tool.coverage.report]
precision = 2
show_missing = true
skip_covered = false