Skip to content

fix: try to run with default config #30

fix: try to run with default config

fix: try to run with default config #30

Triggered via push July 26, 2023 18:41
Status Failure
Total duration 14s
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
Ruff (C901): backend/src/kwai/api/app.py#L18
backend/src/kwai/api/app.py:18:5: C901 `create_app` is too complex (13 > 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."