forked from google/adk-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (31 loc) · 795 Bytes
/
pyproject.toml
File metadata and controls
37 lines (31 loc) · 795 Bytes
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
[project]
name = "google-adk-samples"
version = "0.1.0"
requires-python = ">=3.10"
[tool.ruff]
line-length = 80
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"C", # flake8-comprehension
"PL", # Pylint rules
"B", # flake8-bugbear
"UP", # pyupgrade
"RUF" # ruff specific rules
]
ignore = [
"E501", # Ignore line length for long LLM prompts
"PLR0913" # Allow agents to have many arguments if needed
]
[tool.ruff.lint.per-file-ignores]
# Global rule: ADK agents use __init__.py to expose their logic
"**/__init__.py" = ["F401"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.codespell]
ignore-words-list = "rouge"
skip = "./locust_env/*,uv.lock,.venv,./frontend,**/*.ipynb"