Skip to content

sensor: codegen #162429

sensor: codegen

sensor: codegen #162429

Triggered via pull request November 25, 2024 13:46
Status Failure
Total duration 3m 4s
Artifacts 1

compliance.yml

on: pull_request
Run compliance checks on patch series (PR)
2m 55s
Run compliance checks on patch series (PR)
Fit to window
Zoom out
Zoom in

Annotations

15 errors
Python lint error (UP035) see https://docs.astral.sh/ruff/rules/deprecated-import: doc/_extensions/zephyr/sensor/__init__.py#L4
doc/_extensions/zephyr/sensor/__init__.py:4 `typing.Dict` is deprecated, use `dict` instead
Python lint error (I001) see https://docs.astral.sh/ruff/rules/unsorted-imports: doc/_extensions/zephyr/sensor/__init__.py#L4
doc/_extensions/zephyr/sensor/__init__.py:4 Import block is un-sorted or un-formatted
Python lint error (UP022) see https://docs.astral.sh/ruff/rules/replace-stdout-stderr: doc/_extensions/zephyr/sensor/__init__.py#L258
doc/_extensions/zephyr/sensor/__init__.py:258 Prefer `capture_output` over sending `stdout` and `stderr` to `PIPE`
Python lint error (UP006) see https://docs.astral.sh/ruff/rules/non-pep585-annotation: doc/_extensions/zephyr/sensor/__init__.py#L305
doc/_extensions/zephyr/sensor/__init__.py:305 Use `dict` instead of `Dict` for type annotation
Python format error: doc/_extensions/zephyr/sensor/__init__.py#L1
doc/_extensions/zephyr/sensor/__init__.py Run 'ruff format doc/_extensions/zephyr/sensor/__init__.py'
Python lint error (UP035) see https://docs.astral.sh/ruff/rules/deprecated-import: doc/_extensions/zephyr/sensor/attribute_catalog.py#L4
doc/_extensions/zephyr/sensor/attribute_catalog.py:4 Import from `collections.abc` instead: `Sequence`
Python lint error (UP035) see https://docs.astral.sh/ruff/rules/deprecated-import: doc/_extensions/zephyr/sensor/attribute_catalog.py#L4
doc/_extensions/zephyr/sensor/attribute_catalog.py:4 `typing.Dict` is deprecated, use `dict` instead
Python lint error (I001) see https://docs.astral.sh/ruff/rules/unsorted-imports: doc/_extensions/zephyr/sensor/attribute_catalog.py#L4
doc/_extensions/zephyr/sensor/attribute_catalog.py:4 Import block is un-sorted or un-formatted
Python lint error (UP006) see https://docs.astral.sh/ruff/rules/non-pep585-annotation: doc/_extensions/zephyr/sensor/attribute_catalog.py#L59
doc/_extensions/zephyr/sensor/attribute_catalog.py:59 Use `dict` instead of `Dict` for type annotation
Python lint error (UP035) see https://docs.astral.sh/ruff/rules/deprecated-import: doc/_extensions/zephyr/sensor/channel_catalog.py#L4
doc/_extensions/zephyr/sensor/channel_catalog.py:4 Import from `collections.abc` instead: `Sequence`
Run compliance checks on patch series (PR): GitDiffCheck.txt#L1
Git conflict markers and whitespace errors are not allowed in added changes 24104db517e24714482be1dc5f01b505dde555b0: doc/hardware/sensors/features/index.rst:6: trailing whitespace. bf5c5c6b6f592cfa8ddd76da4a3e7c21253c5871: doc/hardware/peripherals/sensor/index.rst:151: trailing whitespace.
Run compliance checks on patch series (PR): Gitlint.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#commit-guidelines for more details Commit 6d36d5cfe2: 1: UC2 Commit message does not contain a 'Signed-off-by:' line 1: UC3 Commit title does not follow [subsystem]: [subject] (and should not start with literal subsys or treewide): "add missing dependency to clang-build CI" 1: UC6 Commit message body is empty, should at least have 1 line(s). 3: B6 Body message is missing Commit 1378192c26: 1: UC2 Commit message does not contain a 'Signed-off-by:' line 1: UC3 Commit title does not follow [subsystem]: [subject] (and should not start with literal subsys or treewide): "compliance warnings" 1: UC6 Commit message body is empty, should at least have 1 line(s). 3: B6 Body message is missing Commit bade20fe97: 1: UC2 Commit message does not contain a 'Signed-off-by:' line 1: UC3 Commit title does not follow [subsystem]: [subject] (and should not start with literal subsys or treewide): "fixup compliance checks" 1: UC6 Commit message body is empty, should at least have 1 line(s). 3: B6 Body message is missing Commit ca22a059e6: 1: UC2 Commit message does not contain a 'Signed-off-by:' line 1: UC3 Commit title does not follow [subsystem]: [subject] (and should not start with literal subsys or treewide): "fixup tests" 1: UC6 Commit message body is empty, should at least have 1 line(s). 3: B6 Body message is missing Commit 8770fce28c: 1: UC2 Commit message does not contain a 'Signed-off-by:' line 1: UC3 Commit title does not follow [subsystem]: [subject] (and should not start with literal subsys or treewide): "fixup license" 1: UC6 Commit message body is empty, should at least have 1 line(s). 3: B6 Body message is missing Commit c0272c76ca: 1: UC2 Commit message does not contain a 'Signed-off-by:' line 1: UC3 Commit title does not follow [subsystem]: [subject] (and should not start with literal subsys or treewide): "fixup for compliance check" 1: UC6 Commit message body is empty, should at least have 1 line(s). 3: B6 Body message is missing Commit 9739ccc387: 1: UC6 Commit message body is empty, should at least have 1 line(s).
Run compliance checks on patch series (PR): Identity.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#commit-guidelines for more details 6d36d5cfe2f0b28b71ab0159c412655586573498: author email (Yuval Peress <[email protected]>) needs to match one of the signed-off-by entries. 1378192c262753c0053885d4b75d89e4d9a40ec0: author email (Yuval Peress <[email protected]>) needs to match one of the signed-off-by entries. bade20fe97b1b8c3ba98f408cb13b93b6e69773c: author email (Yuval Peress <[email protected]>) needs to match one of the signed-off-by entries. ca22a059e6bc5896e8ef27a9d6fd59ec007a970d: author email (Yuval Peress <[email protected]>) needs to match one of the signed-off-by entries. 8770fce28c654ed00821e4bb80814464815f49d8: author email (Yuval Peress <[email protected]>) needs to match one of the signed-off-by entries. c0272c76cab8c88d0103c9c45d6f2fafb7060e06: author email (Yuval Peress <[email protected]>) needs to match one of the signed-off-by entries.
Run compliance checks on patch series (PR): Ruff.txt#L1
Check python files with ruff. Python lint error (UP035) see https://docs.astral.sh/ruff/rules/deprecated-import:`typing.Dict` is deprecated, use `dict` instead File:doc/_extensions/zephyr/sensor/__init__.py Line:4 Column:1 EndLine:4 EndColumn:36 Python lint error (I001) see https://docs.astral.sh/ruff/rules/unsorted-imports:Import block is un-sorted or un-formatted File:doc/_extensions/zephyr/sensor/__init__.py Line:4 Column:1 EndLine:19 EndColumn:1 Python lint error (UP022) see https://docs.astral.sh/ruff/rules/replace-stdout-stderr:Prefer `capture_output` over sending `stdout` and `stderr` to `PIPE` File:doc/_extensions/zephyr/sensor/__init__.py Line:258 Column:18 EndLine:264 EndColumn:10 Python lint error (UP006) see https://docs.astral.sh/ruff/rules/non-pep585-annotation:Use `dict` instead of `Dict` for type annotation File:doc/_extensions/zephyr/sensor/__init__.py Line:305 Column:27 EndLine:305 EndColumn:31 Python format error:Run 'ruff format doc/_extensions/zephyr/sensor/__init__.py' File:doc/_extensions/zephyr/sensor/__init__.py Python lint error (UP035) see https://docs.astral.sh/ruff/rules/deprecated-import:Import from `collections.abc` instead: `Sequence` File:doc/_extensions/zephyr/sensor/attribute_catalog.py Line:4 Column:1 EndLine:4 EndColumn:39 Python lint error (UP035) see https://docs.astral.sh/ruff/rules/deprecated-import:`typing.Dict` is deprecated, use `dict` instead File:doc/_extensions/zephyr/sensor/attribute_catalog.py Line:4 Column:1 EndLine:4 EndColumn:39 Python lint error (I001) see https://docs.astral.sh/ruff/rules/unsorted-imports:Import block is un-sorted or un-formatted File:doc/_extensions/zephyr/sensor/attribute_catalog.py Line:4 Column:1 EndLine:12 EndColumn:1 Python lint error (UP006) see https://docs.astral.sh/ruff/rules/non-pep585-annotation:Use `dict` instead of `Dict` for type annotation File:doc/_extensions/zephyr/sensor/attribute_catalog.py Line:59 Column:27 EndLine:59 EndColumn:31 Python lint error (UP035) see https://docs.astral.sh/ruff/rules/deprecated-import:Import from `collections.abc` instead: `Sequence` File:doc/_extensions/zephyr/sensor/channel_catalog.py Line:4 Column:1 EndLine:4 EndColumn:39 Python lint error (UP035) see https://docs.astral.sh/ruff/rules/deprecated-import:`typing.Dict` is deprecated, use `dict` instead File:doc/_extensions/zephyr/sensor/channel_catalog.py Line:4 Column:1 EndLine:4 EndColumn:39 Python lint error (I001) see https://docs.astral.sh/ruff/rules/unsorted-imports:Import block is un-sorted or un-formatted File:doc/_extensions/zephyr/sensor/channel_catalog.py Line:4 Column:1 EndLine:12 EndColumn:1 Python lint error (UP006) see https://docs.astral.sh/ruff/rules/non-pep585-annotation:Use `dict` instead of `Dict` for type annotation File:doc/_extensions/zephyr/sensor/channel_catalog.py Line:58 Column:27 EndLine:58 EndColumn:31 Python format error:Run 'ruff format doc/_extensions/zephyr/sensor/channel_catalog.py' File:doc/_extensions/zephyr/sensor/channel_catalog.py Python lint error (UP035) see https://docs.astral.sh/ruff/rules/deprecated-import:Import from `collections.abc` instead: `Sequence` File:doc/_extensions/zephyr/sensor/sensor_catalog.py Line:4 Column:1 EndLine:4 EndColumn:44 Python lint error (UP035) see https://docs.astral.sh/ruff/rules/deprecated-import:`typing.Dict` is deprecated, use `dict` instead File:doc/_extensions/zephyr/sensor/sensor_catalog.py Line:4 Column:1 EndLine:4 EndColumn:44 Python lint error (UP035) see https://docs.astral.sh/ruff/rules/deprecated-import:`typing.Set` is deprecated, use `set` instead File:doc/_extensions/zephyr/sensor/sensor_catalog.py Line:4 Column:1 EndLine:4 EndColumn:44 Python lint error (I001) see https://docs.astral.sh/ruff/rules/unsorted-imports:Import block is un-sorted or un-formatted File:doc/_extensions/zephyr/sensor/sensor_catalog.py Line:4 Column:1 EndLine:12 EndColumn:1 Python lint error (UP006) see https://docs.astral.sh/ruff/rules/non-pep585-annotation:Use `set` instead of `Set` for type annotation File:doc/_extensions/zephyr/sensor/sensor_catalog.py Line:18 Column:21 En
Run compliance checks on patch series (PR)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
compliance.xml
2.06 KB