Skip to content

refactor: write_ome_metadata #36

refactor: write_ome_metadata

refactor: write_ome_metadata #36

Triggered via push November 15, 2024 21:21
Status Failure
Total duration 25s
Artifacts

ruff.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (D205): linc_convert/modalities/psoct/multi_slice.py#L1
linc_convert/modalities/psoct/multi_slice.py:1:1: D205 1 blank line required between summary line and description
Ruff (ANN201): linc_convert/modalities/psoct/multi_slice.py#L37
linc_convert/modalities/psoct/multi_slice.py:37:5: ANN201 Missing return type annotation for public function `automap`
Ruff (ANN001): linc_convert/modalities/psoct/multi_slice.py#L37
linc_convert/modalities/psoct/multi_slice.py:37:13: ANN001 Missing type annotation for function argument `func`
Ruff (D400): linc_convert/modalities/psoct/multi_slice.py#L38
linc_convert/modalities/psoct/multi_slice.py:38:5: D400 First line should end with a period
Ruff (D401): linc_convert/modalities/psoct/multi_slice.py#L38
linc_convert/modalities/psoct/multi_slice.py:38:5: D401 First line of docstring should be in imperative mood: "Decorator to automatically map the array in the mat file"
Ruff (ANN202): linc_convert/modalities/psoct/multi_slice.py#L41
linc_convert/modalities/psoct/multi_slice.py:41:9: ANN202 Missing return type annotation for private function `wrapper`
Ruff (ANN001): linc_convert/modalities/psoct/multi_slice.py#L41
linc_convert/modalities/psoct/multi_slice.py:41:17: ANN001 Missing type annotation for function argument `inp`
Ruff (ANN001): linc_convert/modalities/psoct/multi_slice.py#L41
linc_convert/modalities/psoct/multi_slice.py:41:22: ANN001 Missing type annotation for function argument `out`
Ruff (ANN003): linc_convert/modalities/psoct/multi_slice.py#L41
linc_convert/modalities/psoct/multi_slice.py:41:32: ANN003 Missing type annotation for `**kwargs`
Ruff (D205): linc_convert/modalities/psoct/multi_slice.py#L70
linc_convert/modalities/psoct/multi_slice.py:70:5: D205 1 blank line required between summary line and description