refac #10
Annotations
10 errors and 1 warning
|
ruff (F401):
backend/open_webui/config.py#L28
backend/open_webui/config.py:28:5: F401 `open_webui.env.REDIS_SENTINEL_HOSTS` imported but unused
help: Remove unused import
|
|
ruff (F401):
backend/open_webui/config.py#L27
backend/open_webui/config.py:27:5: F401 `open_webui.env.REDIS_KEY_PREFIX` imported but unused
help: Remove unused import
|
|
ruff (F401):
backend/open_webui/config.py#L26
backend/open_webui/config.py:26:5: F401 `open_webui.env.REDIS_URL` imported but unused
help: Remove unused import
|
|
ruff (ICN003):
backend/open_webui/config.py#L10
backend/open_webui/config.py:10:1: ICN003 Members of `datetime` should not be imported explicitly
|
|
ruff (F401):
backend/open_webui/config.py#L6
backend/open_webui/config.py:6:8: F401 `base64` imported but unused
help: Remove unused import: `base64`
|
|
ruff (I001):
backend/open_webui/config.py#L1
backend/open_webui/config.py:1:1: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
|
ruff (F401):
backend/open_webui/__init__.py#L69
backend/open_webui/__init__.py:69:12: F401 `open_webui.main` imported but unused
help: Remove unused import: `open_webui.main`
|
|
ruff (UP045):
backend/open_webui/__init__.py#L26
backend/open_webui/__init__.py:26:24: UP045 Use `X | None` for type annotations
help: Convert to `X | None`
|
|
ruff (UP035):
backend/open_webui/__init__.py#L9
backend/open_webui/__init__.py:9:1: UP035 Import from `typing` instead: `Annotated`
help: Import from `typing`
|
|
ruff (I001):
backend/open_webui/__init__.py#L1
backend/open_webui/__init__.py:1:1: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
|
Lint & Format Backend
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, astral-sh/ruff-action@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|