-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathpyproject.toml
75 lines (67 loc) · 1.64 KB
/
pyproject.toml
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
[tool.poetry]
name = "codegate"
version = "0.1.7"
description = "Generative AI CodeGen security gateway"
readme = "README.md"
authors = []
[tool.poetry.dependencies]
python = ">=3.12,<4.0"
click = "==8.1.8"
PyYAML = "==6.0.2"
fastapi = "==0.115.7"
uvicorn = "==0.34.0"
structlog = "==25.1.0"
litellm = "==1.59.5"
llama_cpp_python = "==0.3.5"
cryptography = "==44.0.0"
sqlalchemy = "==2.0.37"
aiosqlite = "==0.20.0"
ollama = "==0.4.7"
pydantic-settings = "==2.7.1"
numpy = "==2.2.2"
tree-sitter = "==0.24.0"
tree-sitter-go = "==0.23.4"
tree-sitter-java = "==0.23.5"
tree-sitter-javascript = "==0.23.1"
tree-sitter-python = "==0.23.6"
tree-sitter-rust = "==0.23.2"
alembic = "==1.14.1"
pygments = "==2.19.1"
sqlite-vec-sl-tmp = "==0.0.4"
greenlet = "==3.1.1"
cachetools = "==5.5.1"
[tool.poetry.group.dev.dependencies]
pytest = "==8.3.4"
pytest-cov = "==6.0.0"
black = "==24.10.0"
ruff = "==0.9.3"
bandit = "==1.8.2"
build = "==1.2.2.post1"
wheel = "==0.45.1"
litellm = "==1.59.5"
pytest-asyncio = "==0.25.2"
llama_cpp_python = "==0.3.5"
scikit-learn = "==1.6.1"
python-dotenv = "==1.0.1"
requests = "^2.32.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
codegate = "codegate.cli:main"
generate-openapi = "src.codegate.server:generate_openapi"
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.ruff]
line-length = 100
target-version = "py310"
fix = true
exclude = [
"src/codegate/db/queries.py", # Ignore auto-generated file from sqlc
]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]
[tool.pytest.ini_options]
addopts = "-v --cov=codegate --cov-report=term-missing"
testpaths = ["tests"]