Skip to content

fix pyright round 2 (#141) #604

fix pyright round 2 (#141)

fix pyright round 2 (#141) #604

Triggered via push August 31, 2025 09:32
Status Success
Total duration 5m 14s
Artifacts 4

ci.yml

on: push
Lint & Type Check
59s
Lint & Type Check
Matrix: test-core
Batch Evaluation Tests
1m 9s
Batch Evaluation Tests
MCP End-to-End Tests
46s
MCP End-to-End Tests
Upload Coverage
5s
Upload Coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Lint & Type Check: eval_protocol/agent/orchestrator.py#L18
Type "type[openai.types.chat.chat_completion_message.ChatCompletionMessage]" is not assignable to declared type "type[eval_protocol.agent.orchestrator.ChatCompletionMessage]"   "openai.types.chat.chat_completion_message.ChatCompletionMessage" is not assignable to "eval_protocol.agent.orchestrator.ChatCompletionMessage"   Type "type[openai.types.chat.chat_completion_message.ChatCompletionMessage]" is not assignable to type "type[eval_protocol.agent.orchestrator.ChatCompletionMessage]" (reportAssignmentType)
Lint & Type Check: eval_protocol/agent/orchestrator.py#L17
Type "type[openai._client.OpenAI]" is not assignable to declared type "type[eval_protocol.agent.orchestrator.OpenAI]"   "openai._client.OpenAI" is not assignable to "eval_protocol.agent.orchestrator.OpenAI"   Type "type[openai._client.OpenAI]" is not assignable to type "type[eval_protocol.agent.orchestrator.OpenAI]" (reportAssignmentType)
Lint & Type Check: eval_protocol/agent/orchestrator.py#L17
Type "type[openai._client.AsyncOpenAI]" is not assignable to declared type "type[eval_protocol.agent.orchestrator.AsyncOpenAI]"   "openai._client.AsyncOpenAI" is not assignable to "eval_protocol.agent.orchestrator.AsyncOpenAI"   Type "type[openai._client.AsyncOpenAI]" is not assignable to type "type[eval_protocol.agent.orchestrator.AsyncOpenAI]" (reportAssignmentType)
Lint & Type Check: eval_protocol/adapters/langfuse.py#L314
Cannot access attribute "host" for class "Langfuse"   Attribute "host" is unknown (reportAttributeAccessIssue)
Lint & Type Check: eval_protocol/adapters/langfuse.py#L148
Cannot access attribute "get_observations" for class "Langfuse"   Attribute "get_observations" is unknown (reportAttributeAccessIssue)
Lint & Type Check: eval_protocol/adapters/langfuse.py#L128
Cannot access attribute "get_trace" for class "Langfuse"   Attribute "get_trace" is unknown (reportAttributeAccessIssue)
Lint & Type Check: eval_protocol/adapters/langfuse.py#L94
Cannot access attribute "get_traces" for class "Langfuse"   Attribute "get_traces" is unknown (reportAttributeAccessIssue)
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/langchain.py#L108
Argument of type "list[dict[Unknown, Unknown]] | None" cannot be assigned to parameter "tool_calls" of type "List[ChatCompletionMessageToolCall] | None" in function "__init__"   Type "list[dict[Unknown, Unknown]] | None" is not assignable to type "List[ChatCompletionMessageToolCall] | None"     Type "list[dict[Unknown, Unknown]]" is not assignable to type "List[ChatCompletionMessageToolCall] | None"       "list[dict[Unknown, Unknown]]" is not assignable to "List[ChatCompletionMessageToolCall]"         Type parameter "_T@list" is invariant, but "dict[Unknown, Unknown]" is not the same as "ChatCompletionMessageToolCall"         Consider switching from "list" to "Sequence" which is covariant       "list[dict[Unknown, Unknown]]" is not assignable to "None" (reportArgumentType)
Lint & Type Check: eval_protocol/_version.py#L124
Cannot access attribute "decode" for class "str"   Attribute "decode" is unknown (reportAttributeAccessIssue)
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
34.3 KB
sha256:8839d7d1070976be3faab01d3f5820d61a9c53b5cc21fed958b02311dba41eab
coverage-core-3.10 Expired
41.4 KB
sha256:2a30b6d3fd41331208031091c99807824857f2c0e5f38a50721acae3a48e7bf1
coverage-core-3.11 Expired
41.4 KB
sha256:8ad41ebee31d66c525ddd598eee8575d046da9fc23e38214495429d16d987521
coverage-core-3.12 Expired
41.4 KB
sha256:2a30e234dfa7ff99521b75ca3366a0914bf86a7c698df5dd95fdc7b5d4cee931