Remove unused type ignore

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2026-07-16 15:30:17 +02:00
1 parent 1820240e97
commit 063f872a01
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ def read_file_tool(tmp_path: Path) -> ReadFileTool:
agent.get_active_project_or_raise.return_value = project
tool = ReadFileTool(agent)
# bypass the length limit, which would otherwise depend on the agent configuration
tool._limit_length = lambda result, max_answer_chars: result # type: ignore[method-assign]
tool._limit_length = lambda result, max_answer_chars: result
return tool