feat: docling document metering via docling polling to generate logs #130
lint-backend.yml
on: pull_request
Ruff and mypy on changed files
14s
Annotations
10 errors and 2 warnings
|
ruff (UP045):
src/services/docling_polling_service.py#L78
src/services/docling_polling_service.py:78: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 (UP045):
src/services/docling_metering_service.py#L77
src/services/docling_metering_service.py:77:25: UP045 Use `X | None` for type annotations
help: Convert to `X | None`
|
|
ruff (UP045):
src/services/docling_metering_service.py#L72
src/services/docling_metering_service.py:72:24: UP045 Use `X | None` for type annotations
help: Convert to `X | None`
|
|
ruff (UP017):
src/services/docling_metering_service.py#L50
src/services/docling_metering_service.py:50:25: UP017 Use `datetime.UTC` alias
help: Convert to `datetime.UTC` alias
|
|
ruff (UP045):
src/services/docling_metering_service.py#L44
src/services/docling_metering_service.py:44:21: UP045 Use `X | None` for type annotations
help: Convert to `X | None`
|
|
ruff (UP045):
src/services/docling_metering_service.py#L39
src/services/docling_metering_service.py:39:20: UP045 Use `X | None` for type annotations
help: Convert to `X | None`
|
|
ruff (E402):
src/config/settings.py#L233
src/config/settings.py:233:1: E402 Module level import not at top of file
|
|
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
|