Fix all type errors #648
ci.yml
on: pull_request
Annotations
6 errors and 3 warnings
|
Lint & Type Check
5 errors
|
|
Lint & Type Check:
eval_protocol/pytest/default_langchain_rollout_processor.py#L94
Argument of type "BaseMessage" cannot be assigned to parameter "msg" of type "BaseMessage" in function "serialize_lc_message_to_ep"
"eval_protocol.pytest.default_langchain_rollout_processor.BaseMessage" is not assignable to "langchain_core.messages.base.BaseMessage" (reportArgumentType)
|
|
Lint & Type Check:
eval_protocol/pytest/default_langchain_rollout_processor.py#L35
Type "type[langchain_core.messages.human.HumanMessage]" is not assignable to declared type "type[eval_protocol.pytest.default_langchain_rollout_processor.LangGraphRolloutProcessor.HumanMessage]"
"langchain_core.messages.human.HumanMessage" is not assignable to "eval_protocol.pytest.default_langchain_rollout_processor.LangGraphRolloutProcessor.HumanMessage"
Type "type[langchain_core.messages.human.HumanMessage]" is not assignable to type "type[eval_protocol.pytest.default_langchain_rollout_processor.LangGraphRolloutProcessor.HumanMessage]" (reportAssignmentType)
|
|
Lint & Type Check:
eval_protocol/pytest/default_langchain_rollout_processor.py#L5
Type "type[langchain_core.messages.base.BaseMessage]" is not assignable to declared type "type[eval_protocol.pytest.default_langchain_rollout_processor.BaseMessage]"
"langchain_core.messages.base.BaseMessage" is not assignable to "eval_protocol.pytest.default_langchain_rollout_processor.BaseMessage"
Type "type[langchain_core.messages.base.BaseMessage]" is not assignable to type "type[eval_protocol.pytest.default_langchain_rollout_processor.BaseMessage]" (reportAssignmentType)
|
|
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)
|
|
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.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
coverage-batch-eval
Expired
|
33.8 KB |
sha256:e87f54a9d683d6d3ab1daf124e35c198baa774021d4b2a450123e3e5b8c38e92
|
|
|
coverage-core-3.10
Expired
|
41.1 KB |
sha256:4caa39ea1cf8cc926818024299763f4eeceb6a26ed58817b8c3f70c6b566f836
|
|
|
coverage-core-3.11
Expired
|
41.1 KB |
sha256:7873dd61226ddd73e1f043dc345fdbf4abe638af461f9a593128b160c4897fbe
|
|
|
coverage-core-3.12
Expired
|
41.1 KB |
sha256:47badae155ea58932316ab65158710407550f55828080cb39bafe3aca12e78f5
|
|