-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (96 loc) · 2.85 KB
/
Copy pathpyproject.toml
File metadata and controls
113 lines (96 loc) · 2.85 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
[project]
name = "high-volume-document-analyzer"
version = "0.1.0"
description = "The High-Volume Document Analyzer Agent queries and synthesizes information from a large corpus of internal documents (legal statutes, process manuals, etc.)"
authors = [
{ name = "Mikaeri Ohana", email = "mikaeri@google.com" },
{ name = "Afonso Menegola", email = "afonsomenegola@google.com" },
]
maintainers = [
{ name = "Mikaeri Ohana", email = "mikaeri@google.com" },
]
license = "Apache-2.0"
readme = "README.md"
requires-python = ">=3.11,<3.14"
dependencies = [
"google-adk>=1.28.0",
"google-cloud-aiplatform[adk,agent-engines]>=1.93.0",
"opentelemetry-instrumentation-google-genai==0.4b0",
"python-dotenv>=1.0.1",
"reportlab==4.2.0",
"pypdf==6.9.2",
"requests==2.32.4",
"pandas==2.3.3",
"beautifulsoup4==4.14.3",
"aiohttp==3.14.0",
]
[dependency-groups]
dev = [
"google-adk[eval]>=1.28.0",
"pytest>=8.3.5",
"pytest-asyncio>=0.26.0",
"agent-starter-pack>=0.15.4",
"flask>=3.1.3",
"ruff>=0.4.6",
"mypy>=1.15.0",
"codespell>=2.2.0",
"types-pyyaml>=6.0.12.20240917",
"types-requests>=2.32.0.20240914",
"uvicorn>=0.37.0",
]
[tool.ruff]
extend = "../../../pyproject.toml"
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"W", # pycodestyle warnings
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
"RUF", # ruff specific rules
]
ignore = ["E501", "C901"] # ignore line too long, too complex
[tool.ruff.lint.isort]
known-first-party = ["high_volume_document_analyzer"]
[tool.mypy]
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
no_implicit_optional = true
check_untyped_defs = true
disallow_subclassing_any = true
warn_incomplete_stub = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unreachable = true
follow_imports = "silent"
ignore_missing_imports = true
explicit_package_bases = true
disable_error_code = ["misc", "no-untyped-call", "no-any-return"]
exclude = [".venv"]
[tool.codespell]
ignore-words-list = "rouge"
skip = "./locust_env/*,uv.lock,.venv,./frontend,**/*.ipynb"
[tool.pytest.ini_options]
pythonpath = "."
asyncio_default_fixture_loop_scope = "function"
[tool.agent-starter-pack]
template_id = "adk-agent"
agent_module = "high_volume_document_analyzer.agent"
agent_object = "app"
example_question = "Analyze documents for collection 12345"
[tool.agent-starter-pack.settings]
agent_directory = "high_volume_document_analyzer"
deployment_targets = ["agent_engine", "cloud_run"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["high_volume_document_analyzer", "deployment_utils"]
[[tool.uv.index]]
name = "pypi"
url = "https://pypi.org/simple"
default = true