-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (116 loc) · 2.87 KB
/
Copy pathpyproject.toml
File metadata and controls
138 lines (116 loc) · 2.87 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[project]
name = "soliplex.agents"
version = "0.7.1"
description = "Agents for use with soliplex-ingester"
authors = [{ name = "Enfold Systems", email = "info@enfoldsystems.net" }]
readme = "README.md"
license = "MIT"
keywords = [ "document-processing", "soliplex", "scm", "github", "gitea"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Text Processing :: General",
"Topic :: Text Processing :: Indexing",
]
requires-python = ">=3.13"
dependencies = [
"aioboto3>=14.0.0",
"aiofiles>=25.1.0",
"aiohttp>=3.13.2",
"croniter>=2.0.0",
"fastapi>=0.115.0",
"fastapi-crons>=2.1.1",
"jinja2>=3.1.6",
"logfire[fastapi]",
"pydantic-settings>=2.12.0",
"python-multipart>=0.0.20",
"tenacity>=9.0.0",
"typer>=0.21.1",
"uvicorn[standard]>=0.34.0",
"pyyaml>=6.0",
"haiku-rag[ingester]>=0.55.1",
"pypdfium2>=4.0",
"puremagic>=2.2.0",
]
[dependency-groups]
dev = [
"coverage>=7.11.0",
"faker>=40.8.0",
"httpx>=0.28.0",
"opendal>=0.46.0",
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
"pytest-cov>=7.0.0",
"pytest-vcr>=1.0.2",
"ruff>=0.14.10",
]
[build-system]
requires = ["uv_build>=0.8.7,<0.12.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "soliplex.agents"
[tool.uv]
# 2-week cooldown: don't resolve packages newer than this date.
exclude-newer = "1 weeks"
exclude-newer-package = {haiku-rag = false, haiku-rag-slim = false, haiku-skills=false ,pydantic-ai-slim=false, pydantic-graph=false, torch=false, torchvision=false, "soliplex-agents"=false }
[project.scripts]
si-agent = "soliplex.agents.cli:cli"
[tool.pytest_env]
scm_auth_username="gitea_admin"
scm_auth_password="test_password"
scm_base_url="http://localhost:3000/api/v1"
LOG_LEVEL="INFO"
[tool.pytest.ini_options]
pythonpath = "."
python_files = "test_*.py"
# skip 'tests/functional' by default
testpaths = ["tests/unit"]
addopts = "--cov=soliplex --cov-branch --cov-fail-under=100"
filterwarnings = [
# "ignore::DeprecationWarning:<source-package>",
]
[tool.coverage.run]
omit = [
"*/cli.py",
"*/app.py",
"*/templates/*",
"*/conftest.py",
"*/server/*",
"*/tests/*",
]
[tool.coverage.report]
show_missing = true
[tool.ruff]
line-length = 126
exclude = [
]
target-version = "py313"
[tool.ruff.lint]
select = [
# flake8
"F",
# pycodestyle
"E",
# flake8-bugbear
"B",
# pyupgrade
"U",
# isort
"I",
# pandas vet
"PD",
# tryceratops
"TRY",
# flake8-pytest-style
"PT",
]
ignore = [ "TRY003" , "B008"
]
[tool.ruff.lint.isort]
force-single-line = true
[tool.ruff.lint.flake8-pytest-style]
parametrize-names-type = "csv"