fix: Ensure SUCCESS status requires fetchable result from Docling #131
lint-backend.yml
on: pull_request
Ruff and mypy on changed files
15s
Annotations
6 errors and 2 warnings
|
Ruff and mypy on changed files
Process completed with exit code 1.
|
|
ruff (I001):
tests/unit/test_docling_polling_service.py#L9
tests/unit/test_docling_polling_service.py:9:1: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
|
ruff (UP045):
src/services/docling_polling_service.py#L77
src/services/docling_polling_service.py:77:24: UP045 Use `X | None` for type annotations
help: Convert to `X | None`
|
|
ruff (UP045):
src/services/docling_polling_service.py#L36
src/services/docling_polling_service.py:36:20: UP045 Use `X | None` for type annotations
help: Convert to `X | None`
|
|
ruff (UP045):
src/services/docling_polling_service.py#L35
src/services/docling_polling_service.py:35:13: UP045 Use `X | None` for type annotations
help: Convert to `X | None`
|
|
ruff (UP042):
src/services/docling_polling_service.py#L25
src/services/docling_polling_service.py:25:7: UP042 Class PollOutcome inherits from both `str` and `enum.Enum`
help: Inherit from `enum.StrEnum`
|
|
Ruff and mypy on changed files
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/setup-uv@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/
|
|
Ruff and mypy on changed files
Failed to restore: Cache service responded with 400
|