Skip to content

Commit 07a8649

Browse files
committed
fix: Fix various typos throughout the codebase
1 parent 25b2806 commit 07a8649

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165

166166
### Documentation
167167

168-
* Update the a2a exmaple link in README.md [d0fdfb8](https://github.com/google/adk-python/commit/d0fdfb8c8e2e32801999c81de8d8ed0be3f88e76)
168+
* Update the a2a example link in README.md [d0fdfb8](https://github.com/google/adk-python/commit/d0fdfb8c8e2e32801999c81de8d8ed0be3f88e76)
169169
* Adds AGENTS.md to provide relevant project context for the Gemini CLI [37108be](https://github.com/google/adk-python/commit/37108be8557e011f321de76683835448213f8515)
170170
* Update CONTRIBUTING.md [ffa9b36](https://github.com/google/adk-python/commit/ffa9b361db615ae365ba62c09a8f4226fb761551)
171171
* Add adk project overview and architecture [28d0ea8](https://github.com/google/adk-python/commit/28d0ea876f2f8de952f1eccbc788e98e39f50cf5)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ This project follows
5050
## Requirement for PRs
5151

5252
- Each PR should only have one commit. Please squash it if there are multiple PRs.
53-
- All PRs, other than small documentation or typo fixes, should have a Issue assoicated. If not, please create one.
53+
- All PRs, other than small documentation or typo fixes, should have a Issue associated. If not, please create one.
5454
- Small, focused PRs. Keep changes minimal—one concern per PR.
5555
- For bug fixes or features, please provide logs or screenshot after the fix is applied to help reviewers better understand the fix.
5656
- Please include a `testing plan` section in your PR to talk about how you will test. This will save time for PR review. See `Testing Requirements` section for more details.

src/google/adk/evaluation/agent_evaluator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ async def _get_eval_results_by_eval_id(
559559
def _get_eval_metric_results_with_invocation(
560560
eval_results_per_eval_id: list[EvalCaseResult],
561561
) -> dict[str, list[_EvalMetricResultWithInvocation]]:
562-
"""Retruns _EvalMetricResultWithInvocation grouped by metric.
562+
"""Returns _EvalMetricResultWithInvocation grouped by metric.
563563
564564
EvalCaseResult contain results for each metric per invocation.
565565

src/google/adk/tools/function_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ async def run_async(
107107

108108
# Functions are callable objects, but not all callable objects are functions
109109
# checking coroutine function is not enough. We also need to check whether
110-
# Callable's __call__ function is a coroutine funciton
110+
# Callable's __call__ function is a coroutine function
111111
if (
112112
inspect.iscoroutinefunction(self.func)
113113
or hasattr(self.func, '__call__')

tests/unittests/tools/test_build_function_declaration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def function_string_return(param: str) -> str:
360360
assert function_decl.response.type == types.Type.STRING
361361

362362

363-
def test_fucntion_with_no_response_annotations():
363+
def test_function_with_no_response_annotations():
364364
"""Test a function that has no response annotations."""
365365

366366
def transfer_to_agent(agent_name: str, tool_context: ToolContext):

tests/unittests/tools/test_function_tool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ async def test_run_async_missing_all_arg_async_func():
273273

274274
@pytest.mark.asyncio
275275
async def test_run_async_with_optional_args_not_set_sync_func():
276-
"""Test that run_async calls the function for sync funciton with optional args not set."""
276+
"""Test that run_async calls the function for sync function with optional args not set."""
277277

278278
def func_with_optional_args(arg1, arg2=None, *, arg3, arg4=None, **kwargs):
279279
return f"{arg1},{arg3}"
@@ -286,7 +286,7 @@ def func_with_optional_args(arg1, arg2=None, *, arg3, arg4=None, **kwargs):
286286

287287
@pytest.mark.asyncio
288288
async def test_run_async_with_optional_args_not_set_async_func():
289-
"""Test that run_async calls the function for async funciton with optional args not set."""
289+
"""Test that run_async calls the function for async function with optional args not set."""
290290

291291
async def async_func_with_optional_args(
292292
arg1, arg2=None, *, arg3, arg4=None, **kwargs

0 commit comments

Comments
 (0)