Skip to content

build: update deps

build: update deps #10

Triggered via push December 1, 2023 12:52
Status Failure
Total duration 3m 8s
Billable time 10m
Artifacts
Check for Python file changes
7s
Check for Python file changes
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 5 notices
[flake8] src/emma_experience_hub/commands/build_emma.py#L20: src/emma_experience_hub/commands/build_emma.py#L20
B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling. See https://docs.python.org/3/tutorial/errors.html#exception-chaining for details.
[flake8] src/emma_experience_hub/commands/teach/dataset.py#L93: src/emma_experience_hub/commands/teach/dataset.py#L93
C419 Unnecessary list comprehension passed to any() prevents short-circuiting - rewrite as a generator.
[flake8] src/emma_experience_hub/datamodels/simbot/feedback.py#L180: src/emma_experience_hub/datamodels/simbot/feedback.py#L180
C419 Unnecessary list comprehension passed to all() prevents short-circuiting - rewrite as a generator.
[flake8] src/emma_experience_hub/parsers/simbot/action_predictor_output.py#L69: src/emma_experience_hub/parsers/simbot/action_predictor_output.py#L69
B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling. See https://docs.python.org/3/tutorial/errors.html#exception-chaining for details.
[flake8] src/emma_experience_hub/pipelines/simbot/user_utterance_verification.py#L106: src/emma_experience_hub/pipelines/simbot/user_utterance_verification.py#L106
C419 Unnecessary list comprehension passed to all() prevents short-circuiting - rewrite as a generator.
[flake8] tests/pipelines/simbot/test_language_generator.py#L62: tests/pipelines/simbot/test_language_generator.py#L62
C419 Unnecessary list comprehension passed to all() prevents short-circuiting - rewrite as a generator.
[flake8] tests/pipelines/simbot/test_language_generator.py#L74: tests/pipelines/simbot/test_language_generator.py#L74
C419 Unnecessary list comprehension passed to all() prevents short-circuiting - rewrite as a generator.
[flake8] tests/pipelines/simbot/test_language_generator.py#L77: tests/pipelines/simbot/test_language_generator.py#L77
C419 Unnecessary list comprehension passed to any() prevents short-circuiting - rewrite as a generator.
Lint Python
Process completed with exit code 1.
[mypy] src/emma_experience_hub/datamodels/simbot/session.py#L616: src/emma_experience_hub/datamodels/simbot/session.py#L616
List comprehension has incompatible type List[Optional[SimBotAction]]; expected List[SimBotAction] [misc]
[mypy] src/emma_experience_hub/datamodels/simbot/feedback.py#L326: src/emma_experience_hub/datamodels/simbot/feedback.py#L326
Item "None" of "Optional[SimBotAction]" has no attribute "payload" [union-attr]
[mypy] src/emma_experience_hub/datamodels/simbot/feedback.py#L326: src/emma_experience_hub/datamodels/simbot/feedback.py#L326
Item "SimBotPayload" of "Union[SimBotPayload, Any]" has no attribute "object" [union-attr]
[mypy] src/emma_experience_hub/parsers/simbot/qa_output.py#L87: src/emma_experience_hub/parsers/simbot/qa_output.py#L87
Function is missing a type annotation for one or more arguments [no-untyped-def]
[mypy] src/emma_experience_hub/parsers/simbot/qa_output.py#L88: src/emma_experience_hub/parsers/simbot/qa_output.py#L88
No overload variant of "search" matches argument types "bool", "Any" [call-overload]
[mypy] src/emma_experience_hub/parsers/simbot/qa_output.py#L125: src/emma_experience_hub/parsers/simbot/qa_output.py#L125
Incompatible return value type (got "str", expected "bool") [return-value]
[mypy] src/emma_experience_hub/pipelines/simbot/agent_intent_selection.py#L98: src/emma_experience_hub/pipelines/simbot/agent_intent_selection.py#L98
Incompatible return value type (got "Optional[SimBotAgentIntents]", expected "SimBotAgentIntents") [return-value]
Type check Python
Process completed with exit code 1.
[mypy] src/emma_experience_hub/parsers/simbot/qa_output.py#L88: 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]]
[mypy] src/emma_experience_hub/parsers/simbot/qa_output.py#L88: 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]]