-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (75 loc) · 1.64 KB
/
pyproject.toml
File metadata and controls
86 lines (75 loc) · 1.64 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
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "patchery"
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
]
license = {text = "BSD 2 Clause"}
description = "The successor to Patcherex: PatcherY"
urls = {Homepage = "https://github.com/shellphish/patchery"}
requires-python = ">= 3.10"
dependencies = [
"tqdm",
"pyyaml",
"GitPython",
"tree-sitter==0.21.3",
"tree-sitter-languages",
"PyYAML",
"unidiff",
"jinja2",
'py-tlsh',
'openai',
"langchain>=1.0.0a7",
'requests',
'unidiff',
'numpy',
"pre-commit",
"pydantic",
'jq',
"ruff"
]
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.optional-dependencies]
test = [
"pytest",
"ipdb",
"pytest-asyncio",
"pydantic",
]
aixcc = [
"shellphish_crs_utils"
]
[project.scripts]
patchery = "patchery.__main__:main"
[tool.setuptools]
include-package-data = true
license-files = ["LICENSE"]
[tool.setuptools.packages]
find = {namespaces = false}
[tool.setuptools.dynamic]
version = {attr = "patchery.__version__"}
[tool.ruff]
target-version = "py310"
[tool.ruff.lint]
# Enable basic rule sets
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort (import sorting),
"UP", # Pyupgrade
"D", # Pydocstyle
]
# Ignore specific rules
ignore = [
"E501", # line too long (let formatter handle it)
]
[tool.ruff.lint.per-file-ignores]
# Allow unused imports in __init__.py files
"__init__.py" = ["F401"]