Skip to content

03-Implemented changes for custom python test #632

03-Implemented changes for custom python test

03-Implemented changes for custom python test #632

Triggered via pull request November 14, 2024 13:35
@rquiduterquidute
synchronize #167
Status Success
Total duration 40s
Artifacts

python-lint.yml

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

Annotations

17 errors and 2 warnings
app/tests/sdk_container_mock.py#L63
"__new__" must return a class instance (got "None") [misc]
app/tests/sdk_container_mock.py#L63
Function is missing a type annotation for one or more arguments [no-untyped-def]
app/tests/sdk_container_mock.py#L64
No return value expected [return-value]
app/tests/sdk_container_mock.py#L41
Line too long (133 > 88 characters) (E501)
app/tests/conftest.py#L132
Argument 1 to "contextmanager" has incompatible type "Callable[[], SDKContainer]"; expected "Callable[[], Iterator[<nothing>]]" [arg-type]
app/tests/sdk_container_mock.py#L50
Line too long (90 > 88 characters) (E501)
app/tests/conftest.py#L133
The return type of a generator function should be "Generator" or one of its supertypes [misc]
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L34
Redefinition of unused 'real_sdk_container' from line 25 (F811)
app/tests/conftest.py#L155
The return type of a generator function should be "Generator" or one of its supertypes [misc]
test_collections/matter/sdk_tests/support/tests/test_sdk_container.py#L58
Redefinition of unused 'real_sdk_container' from line 25 (F811)
app/tests/conftest.py#L157
Need type annotation for "real_module" [var-annotated]
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/