1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Fix arguments-renamed pylint warning in tests (#119473)

This commit is contained in:
epenet
2024-06-12 12:25:29 +02:00
committed by GitHub
parent d69e62c096
commit c70cfbb535
7 changed files with 15 additions and 16 deletions

View File

@@ -49,9 +49,7 @@ async def test_register_api(hass: HomeAssistant, llm_context: llm.LLMContext) ->
"""Test registering an llm api."""
class MyAPI(llm.API):
async def async_get_api_instance(
self, tool_context: llm.ToolInput
) -> llm.APIInstance:
async def async_get_api_instance(self, _: llm.ToolInput) -> llm.APIInstance:
"""Return a list of tools."""
return llm.APIInstance(self, "", [], llm_context)