Skip to content

fix: 解决了MaiMai消息和本地消息的转换 #21

fix: 解决了MaiMai消息和本地消息的转换

fix: 解决了MaiMai消息和本地消息的转换 #21

Triggered via push April 13, 2025 00:47
Status Failure
Total duration 9s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ruff.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Ruff (E722): src/core/neural_injector.py#L272
src/core/neural_injector.py:272:17: E722 Do not use bare `except`
Ruff (F841): src/core/brain_context.py#L131
src/core/brain_context.py:131:9: F841 Local variable `immune_system` is assigned to but never used
Ruff (F401): src/connectors/maibot_core_connector.py#L7
src/connectors/maibot_core_connector.py:7:85: F401 `maim_message.message_base.UserInfo` imported but unused
Ruff (F401): src/connectors/maibot_core_connector.py#L7
src/connectors/maibot_core_connector.py:7:56: F401 `maim_message.message_base.GroupInfo` imported but unused
Ruff (F401): src/connectors/maibot_core_connector.py#L5
src/connectors/maibot_core_connector.py:5:8: F401 `json` imported but unused
Ruff (E731): src/cerebellum/neural_trace.py#L331
src/cerebellum/neural_trace.py:331:17: E731 Do not assign a `lambda` expression, use a `def`
Ruff (B904): src/cerebellum/immune_system.py#L667
src/cerebellum/immune_system.py:667:25: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Ruff (B904): src/cerebellum/immune_system.py#L626
src/cerebellum/immune_system.py:626:25: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Ruff (F841): legacy_src/src/utils/subtitle.py#L160
legacy_src/src/utils/subtitle.py:160:9: F841 Local variable `current_text` is assigned to but never used
Ruff (B027): legacy_src/src/sensor/sensor.py#L27
legacy_src/src/sensor/sensor.py:27:5: B027 `Sensor.add_input_to_subtitle` is an empty method in an abstract base class, but has no abstract decorator
ruff
Could not parse version from /home/runner/work/MaiBot-Vtuber/MaiBot-Vtuber/pyproject.toml. Using latest version.