-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (61 loc) · 1.57 KB
/
pyproject.toml
File metadata and controls
71 lines (61 loc) · 1.57 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
[tool.poetry]
name = "haistings"
version = "0.0.0" # This will be overridden by poetry-dynamic-versioning
description = "AI-powered CVE prioritizer"
authors = ["Stacklok Inc"]
license = "Apache-2.0"
readme = "README.md"
packages = [
{ include = "haistings", from = "src" },
]
[tool.poetry.dependencies]
python = ">=3.12,<3.13"
langchain = {extras = ["openai"], version = "0.3.18"}
langchain-community = "0.3.17"
langchainhub = "0.1.21"
langgraph = {extras = ["sqlite"], version = "0.2.73"}
argparse = "1.4.0"
gitingest = "0.1.3"
gitpython = "3.1.44"
langgraph-checkpoint-sqlite = "2.0.5"
kubernetes = "32.0.1"
ruff = "0.9.9"
numpy = "2.2.3"
sentence-transformers = "3.4.1"
huggingface-hub = "0.23.0"
langchain-huggingface = "0.1.2"
[tool.poetry.group.dev.dependencies]
pytest = "8.3.5"
flake8 = "7.0.0"
black = "25.1.0"
isort = "6.0.1"
mypy = "1.9.0"
bandit = "1.8.3"
poetry-dynamic-versioning = "1.7.1"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry.scripts]
haistings = "haistings.haistings:main"
[tool.black]
line-length = 120
target-version = ["py312"]
include = ".pyi?$"
[tool.isort]
profile = "black"
line_length = 120
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
[tool.bandit]
exclude_dirs = ["tests"]
skips = ["B101"] # Skip assert statements in tests
targets = ["src"]
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
pattern = "v(?P<base>.*)"