Run precommit and fix type errors #616
ci.yml
on: pull_request
Annotations
14 errors and 3 warnings
|
Lint & Type Check:
eval_protocol/benchmarks/test_gpqa.py#L63
Cannot access attribute "startswith" for class "List[ChatCompletionContentPartTextParam]"
Attribute "startswith" is unknown (reportAttributeAccessIssue)
|
|
Lint & Type Check:
eval_protocol/benchmarks/test_aime25.py#L101
No parameter named "data" (reportCallIssue)
|
|
Lint & Type Check:
eval_protocol/benchmarks/test_aime25.py#L85
Argument of type "str | List[ChatCompletionContentPartTextParam]" cannot be assigned to parameter "text" of type "str" in function "_extract_boxed_text"
Type "str | List[ChatCompletionContentPartTextParam]" is not assignable to type "str"
"List[ChatCompletionContentPartTextParam]" is not assignable to "str" (reportArgumentType)
|
|
Lint & Type Check:
eval_protocol/agent/task_manager.py#L925
Argument of type "str | None" cannot be assigned to parameter "args" of type "StrPath" in function "__new__"
Type "str | None" is not assignable to type "StrPath"
Type "None" is not assignable to type "StrPath"
"None" is not assignable to "str"
"None" is incompatible with protocol "PathLike[str]"
"__fspath__" is not present (reportArgumentType)
|
|
Lint & Type Check:
eval_protocol/agent/task_manager.py#L923
Type "Path" is not assignable to declared type "str | None"
Type "Path" is not assignable to type "str | None"
"Path" is not assignable to "str"
"Path" is not assignable to "None" (reportAssignmentType)
|
|
Lint & Type Check:
eval_protocol/agent/task_manager.py#L689
Argument of type "int" cannot be assigned to parameter "value" of type "str" in function "__setitem__"
"int" is not assignable to "str" (reportArgumentType)
|
|
Lint & Type Check:
eval_protocol/agent/task_manager.py#L688
Argument of type "int" cannot be assigned to parameter "value" of type "str" in function "__setitem__"
"int" is not assignable to "str" (reportArgumentType)
|
|
Lint & Type Check:
eval_protocol/agent/task_manager.py#L687
Argument of type "Dict[str, Any]" cannot be assigned to parameter "value" of type "str" in function "__setitem__"
"Dict[str, Any]" is not assignable to "str" (reportArgumentType)
|
|
Lint & Type Check:
eval_protocol/adapters/langfuse.py#L16
"Langfuse" is not exported from module "langfuse"
Import from "langfuse._client.client" instead (reportPrivateImportUsage)
|
|
Lint & Type Check:
eval_protocol/adapters/bigquery.py#L197
Except clause is unreachable because exception is already handled
"Exception" is a subclass of "Exception" (reportUnusedExcept)
|
|
Batch Evaluation Tests
Process completed with exit code 1.
|
|
Core Tests (Python 3.11)
Process completed with exit code 1.
|
|
Core Tests (Python 3.12)
Process completed with exit code 1.
|
|
Core Tests (Python 3.10)
Process completed with exit code 1.
|
|
Lint & Type Check:
eval_protocol/mcp/__init__.py#L49
Operation on "__all__" is not supported, so exported symbol list may be incorrect (reportUnsupportedDunderAll)
|
|
Lint & Type Check:
eval_protocol/mcp/__init__.py#L49
Operation on "__all__" is not supported, so exported symbol list may be incorrect (reportUnsupportedDunderAll)
|
|
MCP End-to-End Tests
No files were found with the provided path: coverage.xml. No artifacts will be uploaded.
|