build: update deps #10
reviewdog [mypy] report
reported by reviewdog 🐶
Findings (14)
src/emma_experience_hub/datamodels/simbot/session.py|616 col 33| List comprehension has incompatible type List[Optional[SimBotAction]]; expected List[SimBotAction] [misc]
src/emma_experience_hub/datamodels/simbot/session.py|616 col 33| Error code "misc" not covered by "type: ignore" comment
src/emma_experience_hub/datamodels/simbot/feedback.py|326 col 57| Item "None" of "Optional[SimBotAction]" has no attribute "payload" [union-attr]
src/emma_experience_hub/datamodels/simbot/feedback.py|326 col 57| Item "SimBotPayload" of "Union[SimBotPayload, Any]" has no attribute "object" [union-attr]
src/emma_experience_hub/parsers/simbot/qa_output.py|87 col 5| Function is missing a type annotation for one or more arguments [no-untyped-def]
src/emma_experience_hub/parsers/simbot/qa_output.py|88 col 12| No overload variant of "search" matches argument types "bool", "Any" [call-overload]
src/emma_experience_hub/parsers/simbot/qa_output.py|88 col 12| Possible overload variants:
src/emma_experience_hub/parsers/simbot/qa_output.py|88 col 12| def search(pattern: Union[str, Pattern[str]], string: str, flags: Union[int, RegexFlag] = ...) -> Optional[Match[str]]
src/emma_experience_hub/parsers/simbot/qa_output.py|88 col 12| def search(pattern: Union[bytes, Pattern[bytes]], string: Buffer, flags: Union[int, RegexFlag] = ...) -> Optional[Match[bytes]]
src/emma_experience_hub/parsers/simbot/qa_output.py|125 col 16| Incompatible return value type (got "str", expected "bool") [return-value]
src/emma_experience_hub/api/clients/simbot/session_db.py|125 col 9| Statement is unreachable [unreachable]
src/emma_experience_hub/pipelines/simbot/find_object.py|210 col 22| Unsupported operand types for - ("None" and "int") [operator]
src/emma_experience_hub/pipelines/simbot/find_object.py|210 col 22| Left operand is of type "Optional[int]"
src/emma_experience_hub/pipelines/simbot/agent_intent_selection.py|98 col 24| Incompatible return value type (got "Optional[SimBotAgentIntents]", expected "SimBotAgentIntents") [return-value]
Filtered Findings (0)
Annotations
Check failure on line 616 in src/emma_experience_hub/datamodels/simbot/session.py
github-actions / mypy
[mypy] src/emma_experience_hub/datamodels/simbot/session.py#L616
List comprehension has incompatible type List[Optional[SimBotAction]]; expected List[SimBotAction] [misc]
Raw output
/home/runner/work/experience-hub/experience-hub/src/emma_experience_hub/datamodels/simbot/session.py:616:33: error: List comprehension has incompatible type List[Optional[SimBotAction]]; expected List[SimBotAction] [misc]
Check notice on line 616 in src/emma_experience_hub/datamodels/simbot/session.py
github-actions / mypy
[mypy] src/emma_experience_hub/datamodels/simbot/session.py#L616
Error code "misc" not covered by "type: ignore" comment
Raw output
/home/runner/work/experience-hub/experience-hub/src/emma_experience_hub/datamodels/simbot/session.py:616:33: note: Error code "misc" not covered by "type: ignore" comment
Check failure on line 326 in src/emma_experience_hub/datamodels/simbot/feedback.py
github-actions / mypy
[mypy] src/emma_experience_hub/datamodels/simbot/feedback.py#L326
Item "None" of "Optional[SimBotAction]" has no attribute "payload" [union-attr]
Raw output
/home/runner/work/experience-hub/experience-hub/src/emma_experience_hub/datamodels/simbot/feedback.py:326:57: error: Item "None" of "Optional[SimBotAction]" has no attribute "payload" [union-attr]
Check failure on line 326 in src/emma_experience_hub/datamodels/simbot/feedback.py
github-actions / mypy
[mypy] src/emma_experience_hub/datamodels/simbot/feedback.py#L326
Item "SimBotPayload" of "Union[SimBotPayload, Any]" has no attribute "object" [union-attr]
Raw output
/home/runner/work/experience-hub/experience-hub/src/emma_experience_hub/datamodels/simbot/feedback.py:326:57: error: Item "SimBotPayload" of "Union[SimBotPayload, Any]" has no attribute "object" [union-attr]
Check failure on line 87 in src/emma_experience_hub/parsers/simbot/qa_output.py
github-actions / mypy
[mypy] src/emma_experience_hub/parsers/simbot/qa_output.py#L87
Function is missing a type annotation for one or more arguments [no-untyped-def]
Raw output
/home/runner/work/experience-hub/experience-hub/src/emma_experience_hub/parsers/simbot/qa_output.py:87:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
Check failure on line 88 in src/emma_experience_hub/parsers/simbot/qa_output.py
github-actions / mypy
[mypy] src/emma_experience_hub/parsers/simbot/qa_output.py#L88
No overload variant of "search" matches argument types "bool", "Any" [call-overload]
Raw output
/home/runner/work/experience-hub/experience-hub/src/emma_experience_hub/parsers/simbot/qa_output.py:88:12: error: No overload variant of "search" matches argument types "bool", "Any" [call-overload]
Check notice on line 88 in src/emma_experience_hub/parsers/simbot/qa_output.py
github-actions / mypy
[mypy] src/emma_experience_hub/parsers/simbot/qa_output.py#L88
Possible overload variants:
Raw output
/home/runner/work/experience-hub/experience-hub/src/emma_experience_hub/parsers/simbot/qa_output.py:88:12: note: Possible overload variants:
Check notice on line 88 in src/emma_experience_hub/parsers/simbot/qa_output.py
github-actions / mypy
[mypy] src/emma_experience_hub/parsers/simbot/qa_output.py#L88
def search(pattern: Union[str, Pattern[str]], string: str, flags: Union[int, RegexFlag] = ...) -> Optional[Match[str]]
Raw output
/home/runner/work/experience-hub/experience-hub/src/emma_experience_hub/parsers/simbot/qa_output.py:88:12: note: def search(pattern: Union[str, Pattern[str]], string: str, flags: Union[int, RegexFlag] = ...) -> Optional[Match[str]]
Check notice on line 88 in src/emma_experience_hub/parsers/simbot/qa_output.py
github-actions / mypy
[mypy] src/emma_experience_hub/parsers/simbot/qa_output.py#L88
def search(pattern: Union[bytes, Pattern[bytes]], string: Buffer, flags: Union[int, RegexFlag] = ...) -> Optional[Match[bytes]]
Raw output
/home/runner/work/experience-hub/experience-hub/src/emma_experience_hub/parsers/simbot/qa_output.py:88:12: note: def search(pattern: Union[bytes, Pattern[bytes]], string: Buffer, flags: Union[int, RegexFlag] = ...) -> Optional[Match[bytes]]
Check failure on line 125 in src/emma_experience_hub/parsers/simbot/qa_output.py
github-actions / mypy
[mypy] src/emma_experience_hub/parsers/simbot/qa_output.py#L125
Incompatible return value type (got "str", expected "bool") [return-value]
Raw output
/home/runner/work/experience-hub/experience-hub/src/emma_experience_hub/parsers/simbot/qa_output.py:125:16: error: Incompatible return value type (got "str", expected "bool") [return-value]
Check failure on line 125 in src/emma_experience_hub/api/clients/simbot/session_db.py
github-actions / mypy
[mypy] src/emma_experience_hub/api/clients/simbot/session_db.py#L125
Statement is unreachable [unreachable]
Raw output
/home/runner/work/experience-hub/experience-hub/src/emma_experience_hub/api/clients/simbot/session_db.py:125:9: error: Statement is unreachable [unreachable]
Check failure on line 210 in src/emma_experience_hub/pipelines/simbot/find_object.py
github-actions / mypy
[mypy] src/emma_experience_hub/pipelines/simbot/find_object.py#L210
Unsupported operand types for - ("None" and "int") [operator]
Raw output
/home/runner/work/experience-hub/experience-hub/src/emma_experience_hub/pipelines/simbot/find_object.py:210:22: error: Unsupported operand types for - ("None" and "int") [operator]
Check notice on line 210 in src/emma_experience_hub/pipelines/simbot/find_object.py
github-actions / mypy
[mypy] src/emma_experience_hub/pipelines/simbot/find_object.py#L210
Left operand is of type "Optional[int]"
Raw output
/home/runner/work/experience-hub/experience-hub/src/emma_experience_hub/pipelines/simbot/find_object.py:210:22: note: Left operand is of type "Optional[int]"
Check failure on line 98 in src/emma_experience_hub/pipelines/simbot/agent_intent_selection.py
github-actions / mypy
[mypy] src/emma_experience_hub/pipelines/simbot/agent_intent_selection.py#L98
Incompatible return value type (got "Optional[SimBotAgentIntents]", expected "SimBotAgentIntents") [return-value]
Raw output
/home/runner/work/experience-hub/experience-hub/src/emma_experience_hub/pipelines/simbot/agent_intent_selection.py:98:24: error: Incompatible return value type (got "Optional[SimBotAgentIntents]", expected "SimBotAgentIntents") [return-value]