Skip to content

Port & blackboard support #80

Port & blackboard support

Port & blackboard support #80

Triggered via pull request August 16, 2024 16:01
Status Success
Total duration 1m 3s
Artifacts

lint.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 86 warnings
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/scxml_transition.py#L105
Item "None" of "Optional[List[Union[ScxmlAssign, ScxmlIf, ScxmlSend]]]" has no attribute "__iter__" (not iterable) [union-attr]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/scxml_state.py#L38
Incompatible default for argument "on_entry" (default has type "None", argument has type "List[Union[ScxmlAssign, ScxmlIf, ScxmlSend]]") [assignment]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/scxml_state.py#L39
Incompatible default for argument "on_exit" (default has type "None", argument has type "List[Union[ScxmlAssign, ScxmlIf, ScxmlSend]]") [assignment]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/scxml_state.py#L40
Incompatible default for argument "body" (default has type "None", argument has type "List[ScxmlTransition]") [assignment]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/scxml_state.py#L179
Argument "on_entry" to "ScxmlState" has incompatible type "Optional[List[Union[ScxmlAssign, ScxmlIf, ScxmlSend]]]"; expected "List[Union[ScxmlAssign, ScxmlIf, ScxmlSend]]" [arg-type]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/scxml_state.py#L179
Argument "on_exit" to "ScxmlState" has incompatible type "Optional[List[Union[ScxmlAssign, ScxmlIf, ScxmlSend]]]"; expected "List[Union[ScxmlAssign, ScxmlIf, ScxmlSend]]" [arg-type]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/scxml_ros_topic.py#L74
Argument 3 to "is_non_empty_string" has incompatible type "Union[str, BtGetValueInputPort]"; expected "str" [arg-type]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/scxml_ros_topic.py#L81
Argument 3 to "is_non_empty_string" has incompatible type "Union[str, BtGetValueInputPort]"; expected "str" [arg-type]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/scxml_ros_topic.py#L83
Argument 3 to "is_non_empty_string" has incompatible type "Union[str, BtGetValueInputPort]"; expected "str" [arg-type]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/scxml_ros_topic.py#L98
Incompatible return value type (got "Union[str, BtGetValueInputPort]", expected "str") [return-value]
jani_generator ⏩ isort: jani_generator/src/jani_generator/ros_helpers/ros_services.py#L1
Imports are incorrectly sorted and/or formatted.
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/bt_converter.py#L1
Imports are incorrectly sorted and/or formatted.
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/scxml_entries/scxml_root.py#L1
Imports are incorrectly sorted and/or formatted.
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/scxml_entries/bt_utils.py#L1
Imports are incorrectly sorted and/or formatted.
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/scxml_entries/xml_utils.py#L1
Imports are incorrectly sorted and/or formatted.
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/scxml_entries/scxml_transition.py#L1
Imports are incorrectly sorted and/or formatted.
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/scxml_entries/scxml_ros_timer.py#L1
Imports are incorrectly sorted and/or formatted.
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/scxml_entries/scxml_ros_field.py#L1
Imports are incorrectly sorted and/or formatted.
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/scxml_entries/ros_utils.py#L1
Imports are incorrectly sorted and/or formatted.
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/scxml_entries/scxml_bt.py#L1
Imports are incorrectly sorted and/or formatted.
as2fm_common ⏩ flake8: as2fm_common/src/as2fm_common/common.py#L27
line too long (107 > 79 characters)
as2fm_common ⏩ flake8
The following actions uses node12 which is deprecated and will be forced to run on node16: szenius/[email protected], actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
as2fm_common ⏩ flake8
The following actions use a deprecated Node.js version and will be forced to run on node20: szenius/[email protected], actions/checkout@v3, actions/checkout@v2, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
jani_generator ⏩ pycodestyle: jani_generator/src/jani_generator/main.py#L32
line too long (80 > 79 characters)
jani_generator ⏩ pycodestyle: jani_generator/src/jani_generator/main.py#L40
line too long (83 > 79 characters)
jani_generator ⏩ pycodestyle: jani_generator/src/jani_generator/main.py#L42
line too long (80 > 79 characters)
jani_generator ⏩ pycodestyle: jani_generator/src/jani_generator/main.py#L53
line too long (85 > 79 characters)
jani_generator ⏩ pycodestyle: jani_generator/src/jani_generator/main.py#L69
line too long (82 > 79 characters)
jani_generator ⏩ pycodestyle: jani_generator/src/jani_generator/main.py#L83
line too long (81 > 79 characters)
as2fm_common ⏩ pycodestyle: as2fm_common/src/as2fm_common/common.py#L27
line too long (107 > 79 characters)
as2fm_common ⏩ pycodestyle
The following actions uses node12 which is deprecated and will be forced to run on node16: szenius/[email protected], actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
as2fm_common ⏩ pycodestyle
The following actions use a deprecated Node.js version and will be forced to run on node20: szenius/[email protected], actions/checkout@v3, actions/checkout@v2, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
jani_generator ⏩ mypy
The following actions uses node12 which is deprecated and will be forced to run on node16: szenius/[email protected], actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
jani_generator ⏩ mypy
The following actions use a deprecated Node.js version and will be forced to run on node20: szenius/[email protected], actions/checkout@v3, actions/checkout@v2, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
as2fm_common ⏩ isort
The following actions uses node12 which is deprecated and will be forced to run on node16: szenius/[email protected], actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
as2fm_common ⏩ isort
The following actions use a deprecated Node.js version and will be forced to run on node20: szenius/[email protected], actions/checkout@v3, actions/checkout@v2, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
as2fm_common ⏩ mypy
The following actions uses node12 which is deprecated and will be forced to run on node16: szenius/[email protected], actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
as2fm_common ⏩ mypy
The following actions use a deprecated Node.js version and will be forced to run on node20: szenius/[email protected], actions/checkout@v3, actions/checkout@v2, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
jani_generator ⏩ flake8: jani_generator/src/jani_generator/main.py#L32
line too long (80 > 79 characters)
jani_generator ⏩ flake8: jani_generator/src/jani_generator/main.py#L40
line too long (83 > 79 characters)
jani_generator ⏩ flake8: jani_generator/src/jani_generator/main.py#L42
line too long (80 > 79 characters)
jani_generator ⏩ flake8: jani_generator/src/jani_generator/main.py#L53
line too long (85 > 79 characters)
jani_generator ⏩ flake8: jani_generator/src/jani_generator/main.py#L69
line too long (82 > 79 characters)
jani_generator ⏩ flake8: jani_generator/src/jani_generator/main.py#L83
line too long (81 > 79 characters)
scxml_converter ⏩ flake8: scxml_converter/src/scxml_converter/scxml_converter.py#L23
'xml.etree.ElementTree as ET' imported but unused
scxml_converter ⏩ flake8: scxml_converter/src/scxml_converter/scxml_converter.py#L28
'scxml_converter.scxml_entries.ScxmlRoot' imported but unused
scxml_converter ⏩ flake8: scxml_converter/src/scxml_converter/scxml_converter.py#L28
'scxml_converter.scxml_entries.ScxmlRosDeclarationsContainer' imported but unused
scxml_converter ⏩ mypy
The following actions uses node12 which is deprecated and will be forced to run on node16: szenius/[email protected], actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
scxml_converter ⏩ mypy
The following actions use a deprecated Node.js version and will be forced to run on node20: szenius/[email protected], actions/checkout@v3, actions/checkout@v2, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
jani_generator ⏩ isort
The following actions uses node12 which is deprecated and will be forced to run on node16: szenius/[email protected], actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
jani_generator ⏩ isort
The following actions use a deprecated Node.js version and will be forced to run on node20: szenius/[email protected], actions/checkout@v3, actions/checkout@v2, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
as2fm_common ⏩ pylint
The following actions uses node12 which is deprecated and will be forced to run on node16: szenius/[email protected], actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
as2fm_common ⏩ pylint
The following actions use a deprecated Node.js version and will be forced to run on node20: szenius/[email protected], actions/checkout@v3, actions/checkout@v2, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
scxml_converter ⏩ isort
The following actions uses node12 which is deprecated and will be forced to run on node16: szenius/[email protected], actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
scxml_converter ⏩ isort
The following actions use a deprecated Node.js version and will be forced to run on node20: szenius/[email protected], actions/checkout@v3, actions/checkout@v2, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
scxml_converter ⏩ pylint: scxml_converter/src/scxml_converter/bt_converter.py#L135
TODO: Make BT rate configurable, e.g. from main.xml
scxml_converter ⏩ pylint: scxml_converter/src/scxml_converter/bt_converter.py#L35
Class name "BT_EVENT_TYPE" doesn't conform to PascalCase naming style
scxml_converter ⏩ pylint: scxml_converter/src/scxml_converter/bt_converter.py#L43
Missing function or method docstring
scxml_converter ⏩ pylint: scxml_converter/src/scxml_converter/scxml_converter.py#L75
TODO: Unused, keeping as reference to output types in low level SCXML
scxml_converter ⏩ pylint: scxml_converter/src/scxml_converter/scxml_converter.py#L23
Unused xml.etree.ElementTree imported as ET