mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 18:16:10 +00:00
Remove unused type ignore
This commit is contained in:
1 parent
1820240e97
commit
063f872a01
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user