Skip to content

Adding the usual Linters #31

Adding the usual Linters

Adding the usual Linters #31

Triggered via pull request August 7, 2024 07:28
@ct2034ct2034
synchronize #8
add/linters
Status Success
Total duration 54s
Artifacts

lint.yml

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

Annotations

46 errors and 48 warnings
jani_generator ⏩ isort: jani_generator/src/jani_generator/jani_entries/jani_automaton.py#L51
unused method 'get_initial_locations' (60% confidence)
jani_generator ⏩ isort: jani_generator/src/jani_generator/jani_entries/jani_automaton.py#L59
unused method 'unset_initial' (60% confidence)
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/bt_converter.py#L56
unused function 'bt_converter' (60% confidence)
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/bt_converter.py#L72
unused variable 'xpi' (60% confidence)
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/scxml_converter.py#L33
unused variable 'ROS_TIMER_RATE_EVENT_PREFIX' (60% confidence)
jani_generator ⏩ isort: jani_generator/src/jani_generator/jani_entries/jani_convince_expression_expansion.py#L80
unused function 'distance_to_point_operator' (60% confidence)
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/scxml_converter.py#L76
unused function '_check_topic_type' (60% confidence)
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/scxml_converter.py#L80
unused variable 'cb_topic' (100% confidence)
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/scxml_entries/scxml_data_model.py#L49
unused method 'get_data_entries' (60% confidence)
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/scxml_entries/scxml_executable_entries.py#L79
unused method 'get_conditional_executions' (60% confidence)
as2fm_common ⏩ mypy: as2fm_common/src/as2fm_common/common.py#L38
unused function 'ros_type_name_to_python_type' (60% confidence)
as2fm_common ⏩ mypy: as2fm_common/src/as2fm_common/common.py#L57
unused function 'remove_namespace' (60% confidence)
as2fm_common ⏩ mypy: as2fm_common/src/as2fm_common/ecmascript_interpretation.py#L27
unused function 'interpret_ecma_script_expr' (60% confidence)
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/scxml_state.py#L41
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#L42
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#L43
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#L165
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#L165
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#L237
Incompatible default for argument "fields" (default has type "None", argument has type "List[RosField]") [assignment]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_entries/scxml_data_model.py#L29
Incompatible default for argument "data_entries" (default has type "None", argument has type "List[ScxmlData]") [assignment]
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/bt_converter.py#L56
unused function 'bt_converter' (60% confidence)
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/bt_converter.py#L72
unused variable 'xpi' (60% confidence)
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_converter.py#L33
unused variable 'ROS_TIMER_RATE_EVENT_PREFIX' (60% confidence)
jani_generator ⏩ mypy: jani_generator/src/jani_generator/jani_entries/jani_automaton.py#L51
unused method 'get_initial_locations' (60% confidence)
jani_generator ⏩ mypy: jani_generator/src/jani_generator/jani_entries/jani_automaton.py#L59
unused method 'unset_initial' (60% confidence)
jani_generator ⏩ mypy: jani_generator/src/jani_generator/jani_entries/jani_convince_expression_expansion.py#L66
unused function 'intersection_operator' (60% confidence)
jani_generator ⏩ mypy: jani_generator/src/jani_generator/jani_entries/jani_convince_expression_expansion.py#L80
unused function 'distance_to_point_operator' (60% confidence)
as2fm_common ⏩ isort: as2fm_common/src/as2fm_common/common.py#L38
unused function 'ros_type_name_to_python_type' (60% confidence)
as2fm_common ⏩ isort: as2fm_common/src/as2fm_common/common.py#L57
unused function 'remove_namespace' (60% confidence)
as2fm_common ⏩ isort: as2fm_common/src/as2fm_common/ecmascript_interpretation.py#L27
unused function 'interpret_ecma_script_expr' (60% confidence)
jani_generator ⏩ isort: jani_generator/src/jani_generator/main.py#L1
Missing docstring in public module
jani_generator ⏩ isort: jani_generator/src/jani_generator/main.py#L66
First line should be in imperative mood; try rephrasing (found 'Main')
jani_generator ⏩ isort: jani_generator/src/jani_generator/ros_helpers/ros_services.py#L16
One-line docstring should fit on one line with quotes (found 3)
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/__init__.py#L1
Missing docstring in public package
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/scxml_converter.py#L37
1 blank line required after class docstring (found 0)
jani_generator ⏩ isort: jani_generator/src/jani_generator/ros_helpers/ros_services.py#L56
One-line docstring should fit on one line with quotes (found 3)
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/bt_converter.py#L16
One-line docstring should fit on one line with quotes (found 5)
jani_generator ⏩ isort: jani_generator/src/jani_generator/ros_helpers/ros_services.py#L67
1 blank line required between summary line and description (found 0)
scxml_converter ⏩ isort: scxml_converter/src/scxml_converter/bt_converter.py#L37
1 blank line required after class docstring (found 0)
jani_generator ⏩ isort: jani_generator/src/jani_generator/ros_helpers/ros_services.py#L82
1 blank line required between summary line and description (found 0)
jani_generator ⏩ isort: jani_generator/src/jani_generator/ros_helpers/ros_services.py#L96
1 blank line required between summary line and description (found 0)
jani_generator ⏩ isort: jani_generator/src/jani_generator/ros_helpers/ros_services.py#L96
First line should end with a period (not 's')
as2fm_common ⏩ mypy: as2fm_common/src/as2fm_common/ecmascript_interpretation.py#L16
One-line docstring should fit on one line with quotes (found 3)
as2fm_common ⏩ mypy: as2fm_common/src/as2fm_common/common.py#L16
One-line docstring should fit on one line with quotes (found 3)
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 uses Node.js version which is deprecated 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 ⏩ mypy: scxml_converter/src/scxml_converter/__init__.py#L1
Missing docstring in public package
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/scxml_converter.py#L37
1 blank line required after class docstring (found 0)
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/bt_converter.py#L16
One-line docstring should fit on one line with quotes (found 5)
scxml_converter ⏩ mypy: scxml_converter/src/scxml_converter/bt_converter.py#L37
1 blank line required after class docstring (found 0)
jani_generator ⏩ mypy: jani_generator/src/jani_generator/main.py#L1
Missing docstring in public module
jani_generator ⏩ mypy: jani_generator/src/jani_generator/main.py#L66
First line should be in imperative mood; try rephrasing (found 'Main')
jani_generator ⏩ mypy: jani_generator/src/jani_generator/ros_helpers/ros_services.py#L16
One-line docstring should fit on one line with quotes (found 3)
jani_generator ⏩ mypy: jani_generator/src/jani_generator/ros_helpers/ros_services.py#L56
One-line docstring should fit on one line with quotes (found 3)
jani_generator ⏩ mypy: jani_generator/src/jani_generator/ros_helpers/ros_services.py#L67
1 blank line required between summary line and description (found 0)
jani_generator ⏩ mypy: jani_generator/src/jani_generator/ros_helpers/ros_services.py#L82
1 blank line required between summary line and description (found 0)
jani_generator ⏩ mypy: jani_generator/src/jani_generator/ros_helpers/ros_services.py#L96
1 blank line required between summary line and description (found 0)
jani_generator ⏩ mypy: jani_generator/src/jani_generator/ros_helpers/ros_services.py#L96
First line should end with a period (not 's')
as2fm_common ⏩ isort: as2fm_common/src/as2fm_common/ecmascript_interpretation.py#L16
One-line docstring should fit on one line with quotes (found 3)
as2fm_common ⏩ isort: as2fm_common/src/as2fm_common/common.py#L16
One-line docstring should fit on one line with quotes (found 3)
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 uses Node.js version which is deprecated 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/