-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (87 loc) · 2.43 KB
/
pyproject.toml
File metadata and controls
98 lines (87 loc) · 2.43 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
[project]
name = "agent-core-toolkit"
version = "0.1.4"
description = "Common building blocks for creating AI agents."
readme = "README.md"
authors = [
{ name = "David Koleczek", email = "45405824+DavidKoleczek@users.noreply.github.com" }
]
requires-python = ">=3.11"
dependencies = [
"click>=8.3,<9.0",
"httpx>=0.28,<1.0",
"interop-router>=0.1.8,<0.2",
"loguru>=0.7,<1.0",
"pydantic>=2.12,<3.0",
"pymupdf>=1.27,<2.0",
"pymupdf4llm>=0.3,<1.0",
"python-liquid>=2.1,<3.0",
"rich>=14.3,<15.0",
"tree-sitter>=0.25,<1.0",
"tree-sitter-bash>=0.25,<1.0",
]
[project.optional-dependencies]
web = [
"crawl4ai[pdf]>=0.8,<1.0",
"feedparser>=6.0,<7.0",
"markitdown==0.1.5",
]
[project.scripts]
agent-core = "agent_core.cli:main"
[build-system]
requires = ["uv_build>=0.9.15,<0.10.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "agent_core"
[tool.uv_build]
data = [
{ sources = ["src/agent_core/tools/_ripgrep/bin"], target = "agent_core/tools/_ripgrep/bin" },
{ sources = ["src/agent_core/tools/_ripgrep/LICENSE-ripgrep"], target = "agent_core/tools/_ripgrep" },
]
[dependency-groups]
dev = [
"agent-core-toolkit[web]",
"ipykernel>=7.2.0",
"nbclient>=0.10.4",
"pytest>=9.0.2",
"pytest-asyncio>=1.3",
"ruff>=0.15.2",
"ty>=0.0.18",
]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"RUF", # ruff
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"ISC", # flake8-implicit-str-concat
"PIE", # flake8-pie
"PT", # flake-pytest-style
"PTH", # flake8-use-pathlib
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
]
ignore = [
"E501", # line-too-long (formatter makes best-effort attempt)
# The following rules conflict with the formatter, see: https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191", # tab-indentation
"E111", # indentation-with-invalid-multiple
"E114", # indentation-with-invalid-multiple-comment
"E117", # over-indented
"ISC002", # multi-line-implicit-string-concatenation
]
[tool.ruff.lint.isort]
force-sort-within-sections = true
split-on-trailing-comma = false
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]