Skip to content

Add action support

Add action support #86

Triggered via pull request August 19, 2024 14:43
Status Success
Total duration 59s
Artifacts

lint.yml

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

Annotations

20 errors and 86 warnings
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/utils.py#L138
Incompatible return value type (got "Tuple[Any, Any, Any]", expected "Tuple[Dict[str, str], Dict[str, str]]") [return-value]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/utils.py#L384
Need more than 2 values to unpack (3 expected) [misc]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/utils.py#L386
Cannot determine type of "goal_fields" [has-type]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/utils.py#L390
Cannot determine type of "goal_fields" [has-type]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/utils.py#L391
Cannot determine type of "goal_fields" [has-type]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/utils.py#L393
Cannot determine type of "goal_fields" [has-type]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/utils.py#L405
Need more than 2 values to unpack (3 expected) [misc]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/utils.py#L407
Cannot determine type of "feedback_fields" [has-type]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/utils.py#L411
Cannot determine type of "feedback_fields" [has-type]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/utils.py#L412
Cannot determine type of "feedback_fields" [has-type]
jani_generator ⏩ isort: jani_generator/src/jani_generator/jani_entries/jani_constant.py#L1
Imports are incorrectly sorted and/or formatted.
jani_generator ⏩ isort: jani_generator/src/jani_generator/jani_entries/jani_variable.py#L1
Imports are incorrectly sorted and/or formatted.
jani_generator ⏩ mypy: jani_generator/src/jani_generator/jani_entries/jani_expression.py#L52
Parameterized generics cannot be used with class or instance checks [misc]
jani_generator ⏩ mypy: jani_generator/src/jani_generator/jani_entries/jani_expression.py#L52
Argument 2 to "isinstance" has incompatible type "object"; expected "Union[type, UnionType, Tuple[Union[type, UnionType, Tuple[Any, ...]], ...]]" [arg-type]
jani_generator ⏩ mypy: jani_generator/src/jani_generator/jani_entries/jani_convince_expression_expansion.py#L207
Unsupported operand types for % ("int" and "None") [operator]
jani_generator ⏩ mypy: jani_generator/src/jani_generator/jani_entries/jani_convince_expression_expansion.py#L208
Unsupported operand types for % ("int" and "None") [operator]
jani_generator ⏩ mypy: jani_generator/src/jani_generator/jani_entries/jani_constant.py#L63
Item "None" of "Optional[JaniValue]" has no attribute "is_valid" [union-attr]
jani_generator ⏩ mypy: jani_generator/src/jani_generator/jani_entries/jani_constant.py#L65
Item "None" of "Optional[JaniValue]" has no attribute "value" [union-attr]
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)
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)
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 ⏩ 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/
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/
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/
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/
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 ⏩ 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/
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/
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/
scxml_converter ⏩ pylint: scxml_converter/src/scxml_converter/bt_converter.py#L111
TODO: Replace arguments from the BT xml file.
scxml_converter ⏩ pylint: scxml_converter/src/scxml_converter/bt_converter.py#L36
Class name "BT_EVENT_TYPE" doesn't conform to PascalCase naming style
scxml_converter ⏩ pylint: scxml_converter/src/scxml_converter/bt_converter.py#L44
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
jani_generator ⏩ pylint: jani_generator/src/jani_generator/convince_jani_helpers/convince_to_plain_jani.py#L86
TODO: Discuss the possibility of generating a base automata for each robot + standard edges
jani_generator ⏩ pylint: jani_generator/src/jani_generator/scxml_helpers/scxml_expression.py#L48
Unnecessary "elif" after "return", remove the leading "el" from "elif"
jani_generator ⏩ pylint: jani_generator/src/jani_generator/scxml_helpers/scxml_expression.py#L61
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
jani_generator ⏩ pylint: jani_generator/src/jani_generator/scxml_helpers/scxml_event_processor.py#L124
TODO: Dots are likely to create problems in the future. Consider replacing them