Skip to content

Add ruff action

Add ruff action #1

Triggered via push October 11, 2024 03:52
Status Failure
Total duration 19s
Artifacts

style.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (F841): src/miv_simulator/cells.py#L131
src/miv_simulator/cells.py:131:5: F841 Local variable `vsection` is assigned to but never used
Ruff (F841): src/miv_simulator/cells.py#L261
src/miv_simulator/cells.py:261:9: F841 Local variable `pt_sections` is assigned to but never used
Ruff (F821): src/miv_simulator/cells.py#L263
src/miv_simulator/cells.py:263:21: F821 Undefined name `make_section_node_dict`
Ruff (F841): src/miv_simulator/cells.py#L349
src/miv_simulator/cells.py:349:9: F841 Local variable `soma_node` is assigned to but never used
Ruff (F841): src/miv_simulator/cells.py#L350
src/miv_simulator/cells.py:350:9: F841 Local variable `apical_node` is assigned to but never used
Ruff (F841): src/miv_simulator/cells.py#L515
src/miv_simulator/cells.py:515:9: F841 Local variable `soma_node` is assigned to but never used
Ruff (F841): src/miv_simulator/cells.py#L516
src/miv_simulator/cells.py:516:9: F841 Local variable `apical_node` is assigned to but never used
Ruff (F841): src/miv_simulator/cells.py#L646
src/miv_simulator/cells.py:646:9: F841 Local variable `soma_node` is assigned to but never used
Ruff (F821): src/miv_simulator/cells.py#L906
src/miv_simulator/cells.py:906:77: F821 Undefined name `self`
Ruff (F841): src/miv_simulator/cells.py#L989
src/miv_simulator/cells.py:989:13: F841 Local variable `hoc_obj` is assigned to but never used