refactor: use lifespan instead of events #31
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 errors
Ruff (C901):
backend/src/kwai/api/app.py#L27
backend/src/kwai/api/app.py:27:5: C901 `create_app` is too complex (11 > 10)
|
Ruff (D104):
backend/src/kwai/api/v1/auth/endpoints/__init__.py#L1
backend/src/kwai/api/v1/auth/endpoints/__init__.py:1:1: D104 Missing docstring in public package
|
Ruff (D104):
backend/src/kwai/api/v1/portal/endpoints/__init__.py#L1
backend/src/kwai/api/v1/portal/endpoints/__init__.py:1:1: D104 Missing docstring in public package
|
Ruff (D104):
backend/src/kwai/api/v1/portal/schemas/__init__.py#L1
backend/src/kwai/api/v1/portal/schemas/__init__.py:1:1: D104 Missing docstring in public package
|
Ruff (C901):
backend/src/kwai/cli/bus.py#L64
backend/src/kwai/cli/bus.py:64:5: C901 `stream` is too complex (12 > 10)
|
Ruff (D401):
backend/src/kwai/core/mail/message.py#L18
backend/src/kwai/core/mail/message.py:18:9: D401 First line of docstring should be in imperative mood: "Sets the recipients for the message."
|
Ruff (D401):
backend/src/kwai/core/mail/message.py#L32
backend/src/kwai/core/mail/message.py:32:9: D401 First line of docstring should be in imperative mood: "Sets the subject for the message."
|
Ruff (D401):
backend/src/kwai/core/mail/message.py#L46
backend/src/kwai/core/mail/message.py:46:9: D401 First line of docstring should be in imperative mood: "Sets the headers for the message."
|
Ruff (D401):
backend/src/kwai/core/mail/message.py#L60
backend/src/kwai/core/mail/message.py:60:9: D401 First line of docstring should be in imperative mood: "Sets the HTML for the message."
|
Ruff (D401):
backend/src/kwai/core/mail/message.py#L74
backend/src/kwai/core/mail/message.py:74:9: D401 First line of docstring should be in imperative mood: "Sets the text for the message."
|