Skip to content

03-Implemented changes for custom python test #633

03-Implemented changes for custom python test

03-Implemented changes for custom python test #633

Triggered via pull request November 14, 2024 13:41
@rquiduterquidute
synchronize #167
Status Failure
Total duration 26s
Artifacts

spell-check.yml

on: pull_request_target
spellcheck
14s
spellcheck
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 11 warnings
spellcheck
105 spelling issues found in 1 of the 421 files checked.
/home/runner/work/certification-tool-backend/certification-tool-backend/test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L29
from ..exec_run_in_container import ExecResultExtended from ..sdk_container import SDKContainer @pytest.mark.asyncio -async def test_start(real_sdk_container) -> None: # noqa +async def test_start(real_sdk_container) -> None: # noqa # Values to verify docker_image = f"{matter_settings.SDK_DOCKER_IMAGE}:\ {matter_settings.SDK_DOCKER_TAG}" with mock.patch.object(
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L58
Redefinition of unused 'real_sdk_container' from line 25 (F811)
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L71
Redefinition of unused 'real_sdk_container' from line 25 (F811)
app/tests/sdk_container_mock.py#L70
"__new__" must return a class instance (got "None") [misc]
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L92
Redefinition of unused 'real_sdk_container' from line 25 (F811)
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L103
Redefinition of unused 'real_sdk_container' from line 25 (F811)
app/tests/sdk_container_mock.py#L70
Function is missing a type annotation for one or more arguments [no-untyped-def]
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L124
Redefinition of unused 'real_sdk_container' from line 25 (F811)
app/tests/sdk_container_mock.py#L71
No return value expected [return-value]
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L135
Redefinition of unused 'real_sdk_container' from line 25 (F811)
app/tests/conftest.py#L132
Argument 1 to "contextmanager" has incompatible type "Callable[[], SDKContainer]"; expected "Callable[[], Iterator[<nothing>]]" [arg-type]
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L175
Redefinition of unused 'real_sdk_container' from line 25 (F811)
app/tests/conftest.py#L133
The return type of a generator function should be "Generator" or one of its supertypes [misc]
app/tests/conftest.py#L155
The return type of a generator function should be "Generator" or one of its supertypes [misc]
app/tests/conftest.py#L157
Need type annotation for "real_module" [var-annotated]
spellcheck
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, streetsidesoftware/cspell-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/