03-Implemented changes for custom python test #633
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/
|
spellcheck:
test_collections/matter/sdk_tests/python_tests_info.json#L737
Unknown word (BOOLCFG)
|
spellcheck:
test_collections/matter/sdk_tests/python_tests_info.json#L738
Unknown word (BOOLCFG)
|
spellcheck:
test_collections/matter/sdk_tests/python_tests_info.json#L739
Unknown word (BOOLCFG)
|
spellcheck:
test_collections/matter/sdk_tests/python_tests_info.json#L740
Unknown word (BOOLCFG)
|
spellcheck:
test_collections/matter/sdk_tests/python_tests_info.json#L742
Unknown word (BOOLCFG)
|
spellcheck:
test_collections/matter/sdk_tests/python_tests_info.json#L829
Unknown word (SENSLVL)
|
spellcheck:
test_collections/matter/sdk_tests/python_tests_info.json#L1037
Unknown word (Untrigger)
|
spellcheck:
test_collections/matter/sdk_tests/python_tests_info.json#L1114
Unknown word (Untrigger)
|
spellcheck:
test_collections/matter/sdk_tests/python_tests_info.json#L1150
Unknown word (Untrigger)
|
spellcheck:
test_collections/matter/sdk_tests/python_tests_info.json#L1180
Unknown word (Untrigger)
|