Skip to content

feat(documents): add docling (docling-serve) document-parsing backend#1006

Closed
yuisheaven wants to merge 3 commits into
cbcoutinho:masterfrom
yuisheaven:claude/nextcloud-docling-integration-vbg9jt
Closed

feat(documents): add docling (docling-serve) document-parsing backend#1006
yuisheaven wants to merge 3 commits into
cbcoutinho:masterfrom
yuisheaven:claude/nextcloud-docling-integration-vbg9jt

test(documents): use https in docling test URLs (SonarCloud S5332)

7f33f85
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 2, 2026 in 1m 6s

Annotations

Check failure on line 152 in nextcloud_mcp_server/document_processors/docling_serve.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=cbcoutinho_nextcloud-mcp-server&issues=AZ8ivoqiE36x1qGAnyWR&open=AZ8ivoqiE36x1qGAnyWR&pullRequest=1006

Check warning on line 307 in tests/unit/test_ocr_processor.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use asynchronous features in this function or remove the `async` keyword.

See more on https://sonarcloud.io/project/issues?id=cbcoutinho_nextcloud-mcp-server&issues=AZ8ivopJE36x1qGAnyV5&open=AZ8ivopJE36x1qGAnyV5&pullRequest=1006

Check warning on line 317 in tests/unit/test_docling_processor.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use asynchronous features in this function or remove the `async` keyword.

See more on https://sonarcloud.io/project/issues?id=cbcoutinho_nextcloud-mcp-server&issues=AZ8ivopdE36x1qGAnyWO&open=AZ8ivopdE36x1qGAnyWO&pullRequest=1006

Check warning on line 140 in tests/integration/test_docling_api.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Specify a more specific exception type here.

See more on https://sonarcloud.io/project/issues?id=cbcoutinho_nextcloud-mcp-server&issues=AZ8ivoplE36x1qGAnyWP&open=AZ8ivoplE36x1qGAnyWP&pullRequest=1006

Check failure on line 228 in tests/unit/test_docling_processor.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this function is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=cbcoutinho_nextcloud-mcp-server&issues=AZ8ivopdE36x1qGAnyWG&open=AZ8ivopdE36x1qGAnyWG&pullRequest=1006

Check warning on line 278 in tests/unit/test_ocr_processor.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use asynchronous features in this function or remove the `async` keyword.

See more on https://sonarcloud.io/project/issues?id=cbcoutinho_nextcloud-mcp-server&issues=AZ8ivopJE36x1qGAnyV3&open=AZ8ivopJE36x1qGAnyV3&pullRequest=1006

Check warning on line 117 in nextcloud_mcp_server/document_processors/docling_serve.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "timeout" parameter and use a timeout context manager instead.

See more on https://sonarcloud.io/project/issues?id=cbcoutinho_nextcloud-mcp-server&issues=AZ8ivoqiE36x1qGAnyWQ&open=AZ8ivoqiE36x1qGAnyWQ&pullRequest=1006

Check warning on line 288 in nextcloud_mcp_server/document_processors/docling_serve.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return a value of type "ProcessingResult" instead of "NoneType" or update function "process" type hint.

See more on https://sonarcloud.io/project/issues?id=cbcoutinho_nextcloud-mcp-server&issues=AZ8ivoqiE36x1qGAnyWU&open=AZ8ivoqiE36x1qGAnyWU&pullRequest=1006

Check warning on line 326 in tests/unit/test_docling_processor.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the unused local variable "meta" with "_".

See more on https://sonarcloud.io/project/issues?id=cbcoutinho_nextcloud-mcp-server&issues=AZ8ivopdE36x1qGAnyWN&open=AZ8ivopdE36x1qGAnyWN&pullRequest=1006

Check failure on line 158 in nextcloud_mcp_server/document_processors/docling_serve.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=cbcoutinho_nextcloud-mcp-server&issues=AZ8ivoqiE36x1qGAnyWS&open=AZ8ivoqiE36x1qGAnyWS&pullRequest=1006

Check warning on line 178 in nextcloud_mcp_server/document_processors/docling_serve.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "timeout" parameter and use a timeout context manager instead.

See more on https://sonarcloud.io/project/issues?id=cbcoutinho_nextcloud-mcp-server&issues=AZ8ivoqiE36x1qGAnyWT&open=AZ8ivoqiE36x1qGAnyWT&pullRequest=1006

Check failure on line 154 in nextcloud_mcp_server/app.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=cbcoutinho_nextcloud-mcp-server&issues=AZ8ivorSE36x1qGAnyWV&open=AZ8ivorSE36x1qGAnyWV&pullRequest=1006