Skip to content

03-Implemented changes for custom python test #629

03-Implemented changes for custom python test

03-Implemented changes for custom python test #629

Triggered via pull request November 12, 2024 23:24
@rquiduterquidute
opened #167
Status Success
Total duration 42s
Artifacts

python-lint.yml

on: pull_request_target
Run linters
30s
Run linters
Fit to window
Zoom out
Zoom in

Annotations

24 errors and 2 warnings
app/tests/sdk_container_mock.py#L63
Function is missing a type annotation [no-untyped-def]
app/tests/sdk_container_mock.py#L68
Module has no attribute "mock_sdk_container" [attr-defined]
app/tests/conftest.py#L20
'pathlib.Path' imported but unused (F401)
test_collections/matter/sdk_tests/support/python_testing/list_python_tests_classes.py#L154
Function is missing a type annotation for one or more arguments [no-untyped-def]
app/tests/conftest.py#L23
'unittest.mock.AsyncMock' imported but unused (F401)
app/tests/conftest.py#L140
Function is missing a return type annotation [no-untyped-def]
app/tests/conftest.py#L23
'unittest.mock.Mock' imported but unused (F401)
app/tests/conftest.py#L162
Function is missing a return type annotation [no-untyped-def]
app/tests/conftest.py#L23
'unittest.mock.patch' imported but unused (F401)
app/tests/conftest.py#L36
'.sdk_container_mock.mock_instance' imported but unused (F401)
app/tests/conftest.py#L46
'test_collections.matter.sdk_tests.support.sdk_container.SDKContainer' imported but unused (F401)
app/tests/sdk_container_mock.py#L41
Line too long (133 > 88 characters) (E501)
app/tests/sdk_container_mock.py#L50
Line too long (90 > 88 characters) (E501)
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L20
'unittest.TestCase' imported but unused (F401)
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L25
'app.tests.conftest.real_sdk_container' imported but unused (F401)
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L30
'..sdk_container.SDKContainerNotRunning' imported but unused (F401)
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L34
Redefinition of unused 'real_sdk_container' from line 25 (F811)
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)
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)
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L124
Redefinition of unused 'real_sdk_container' from line 25 (F811)
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L135
Redefinition of unused 'real_sdk_container' from line 25 (F811)
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L175
Redefinition of unused 'real_sdk_container' from line 25 (F811)
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run linters
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v1, wearerequired/lint-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/